forked from r.muellner/velum-raycast
feat: choose project or session for text commands
This commit is contained in:
@@ -5,7 +5,9 @@ import { join } from "node:path";
|
||||
import { createHash } from "node:crypto";
|
||||
import { migrate } from "../tools/migrate-ki-datenschutz.mjs";
|
||||
|
||||
mock.module("@raycast/api", () => ({ environment: { supportPath: tmpdir() } }));
|
||||
mock.module("@raycast/api", () => ({ environment: { supportPath: tmpdir() },
|
||||
Form: {}, Icon: {}, Toast: { Style: {} }, showToast: async () => undefined,
|
||||
LocalStorage: {}, getPreferenceValues: () => ({}) }));
|
||||
const { restorePath, restoreText } = await import("../src/lib/velum-project");
|
||||
const roots: string[] = [];
|
||||
afterEach(async () => { await Promise.all(roots.splice(0).map((root) => fs.rm(root, { recursive: true, force: true }))); });
|
||||
|
||||
Reference in New Issue
Block a user