diff --git a/deno.json b/deno.json index fbd7add..87e4f3a 100644 --- a/deno.json +++ b/deno.json @@ -1,8 +1,11 @@ { "$schema": "https://deno.land/x/deno/cli/schemas/config-file.v1.json", "name": "@byzanteam/jet-queue-plugin-js", - "version": "0.2.0", - "exports": "./mod.ts", + "version": "0.2.1", + "exports": { + ".": "./mod.ts", + "./testing": "./testing.ts" + }, "compilerOptions": { "strict": true, "useUnknownInCatchVariables": true, diff --git a/src/testing.ts b/src/testing.ts index 199cf69..a3bf5f4 100644 --- a/src/testing.ts +++ b/src/testing.ts @@ -63,7 +63,11 @@ export function clearJobs() { jobs = []; } -export function getJobs() { +export function getJobs(): [ + string, + QueueJob>, + maybeOptions, +][] { return jobs; }