Skip to content
Myr

chore: tweak `jest.config.js` (#1274)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* chore: tweak `jest.config.js` * fix for lagon test

authored by Yusuke Wada · committed by GitHub · parent 3d9c6b2 · Browse files · 2 files+4 added−19 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−19 removed

  • other:+4 added−19 removed

2 files+4 added−19 removed

modified:jest.config.js+2 added-17 removed
modified:package.json+2 added-2 removed
12 unmodified lines
13 "test": "jest",14 "test:deno": "env NAME=Deno deno test --allow-read --allow-env runtime_tests/deno",15 "test:bun": "env NAME=Bun bun test --jsx-import-source ../../src/middleware/jsx runtime_tests/bun/index.test.tsx",16 "test:fastly": "jest --config ./runtime_tests/fastly/jest.config.js",17 "test:lagon": "start-server-and-test \"lagon dev runtime_tests/lagon/index.ts -e runtime_tests/lagon/.env.lagon\" http://127.0.0.1:1234 \"yarn jest runtime_tests/lagon/index.test.ts --testMatch '**/*.test.ts'\"",17 "test:lagon": "start-server-and-test \"lagon dev runtime_tests/lagon/index.ts -e runtime_tests/lagon/.env.lagon\" http://127.0.0.1:1234 \"yarn jest runtime_tests/lagon/index.test.ts --roots runtime_tests/lagon --testMatch '**/*.test.ts'\"",18 "test:node": "env NAME=Node jest --config ./runtime_tests/node/jest.config.js",19 "test:wrangler": "jest --config ./runtime_tests/wrangler/jest.config.js",20 "test:lambda": "env NAME=Node jest --config ./runtime_tests/lambda/jest.config.js",21 "test:lambda-edge": "env NAME=Node jest --config ./runtime_tests/lambda-edge/jest.config.js",
386 unmodified lines
408 },409 "engines": {410 "node": ">=16.0.0"411 }412}412}