From 691b9a64687ae8d9112b943acd3bf981d756e4e3 Mon Sep 17 00:00:00 2001 From: anubra266 Date: Tue, 23 Jan 2024 08:08:31 -0600 Subject: [PATCH] Finalize tests --- plugin/src/utils/worker.ts | 2 +- plugin/test/{no-escape-hatch.ts => no-escape-hatch.test.ts} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename plugin/test/{no-escape-hatch.ts => no-escape-hatch.test.ts} (100%) diff --git a/plugin/src/utils/worker.ts b/plugin/src/utils/worker.ts index 9784423..3cb7362 100644 --- a/plugin/src/utils/worker.ts +++ b/plugin/src/utils/worker.ts @@ -20,7 +20,7 @@ async function _getContext(configPath: string | undefined) { export async function getContext(opts: Opts) { if (process.env.NODE_ENV === 'test') { - const ctx = createContext({ importMap: './pandas' }) + const ctx = createContext({ importMap: './panda' }) ctx.getFiles = () => ['./src/valid.tsx'] return ctx } else { diff --git a/plugin/test/no-escape-hatch.ts b/plugin/test/no-escape-hatch.test.ts similarity index 100% rename from plugin/test/no-escape-hatch.ts rename to plugin/test/no-escape-hatch.test.ts