@lunora/testing 1.0.0-alpha.6 → 1.0.0-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export { lunoraTest } from './packem_shared/lunoraTest-D8kUyDzR.mjs';
1
+ export { lunoraTest } from './packem_shared/lunoraTest-Dm9lhBEx.mjs';
2
2
  export { extractLink, listCapturedMail, waitForMail } from '@lunora/mail/testing';
@@ -313,6 +313,7 @@ const lunoraTest = (schema, options) => {
313
313
  now: harnessNow,
314
314
  // eslint-disable-next-line @typescript-eslint/no-use-before-define -- lazy closure: `runInternal` is invoked only when a handler calls ctx.runQuery, after construction completes
315
315
  runQuery: (reference, args) => runInternal("query", reference, queryContext, args),
316
+ secrets: stubProxy("secrets"),
316
317
  storage: stubProxy("storage"),
317
318
  vectors: stubProxy("vectors")
318
319
  };
@@ -326,6 +327,7 @@ const lunoraTest = (schema, options) => {
326
327
  // eslint-disable-next-line @typescript-eslint/no-use-before-define -- lazy closure: `runInternal` is invoked only when a handler calls ctx.runQuery, after construction completes
327
328
  runQuery: (reference, args) => runInternal("query", reference, queryContext, args),
328
329
  scheduler: fakeScheduler,
330
+ secrets: stubProxy("secrets"),
329
331
  storage: stubProxy("storage"),
330
332
  vectors: stubProxy("vectors"),
331
333
  workflows: stubProxy("workflows")
@@ -345,6 +347,7 @@ const lunoraTest = (schema, options) => {
345
347
  // eslint-disable-next-line @typescript-eslint/no-use-before-define -- lazy closure: `runInternal` is invoked only when a handler calls ctx.runQuery, after construction completes
346
348
  runQuery: (reference, args) => runInternal("query", reference, queryContext, args),
347
349
  scheduler: fakeScheduler,
350
+ secrets: stubProxy("secrets"),
348
351
  storage: stubProxy("storage"),
349
352
  vectors: stubProxy("vectors"),
350
353
  workflows: stubProxy("workflows")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lunora/testing",
3
- "version": "1.0.0-alpha.6",
3
+ "version": "1.0.0-alpha.8",
4
4
  "description": "Testing toolkit for Lunora: an in-memory harness for queries, mutations, and actions",
5
5
  "keywords": [
6
6
  "cloudflare",
@@ -25,7 +25,7 @@
25
25
  "directory": "packages/testing"
26
26
  },
27
27
  "files": [
28
- "dist",
28
+ "./dist",
29
29
  "README.md",
30
30
  "LICENSE.md",
31
31
  "__assets__"
@@ -46,9 +46,9 @@
46
46
  "access": "public"
47
47
  },
48
48
  "dependencies": {
49
- "@lunora/do": "1.0.0-alpha.5",
50
- "@lunora/mail": "1.0.0-alpha.1",
51
- "@lunora/server": "1.0.0-alpha.3"
49
+ "@lunora/do": "1.0.0-alpha.6",
50
+ "@lunora/mail": "1.0.0-alpha.3",
51
+ "@lunora/server": "1.0.0-alpha.5"
52
52
  },
53
53
  "engines": {
54
54
  "node": "^22.15.0 || >=24.11.0"