Skip to content

Commit

Permalink
use --roots argument to jest instead of pattern (fixes #1167) (#1173)
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbu42 authored Apr 8, 2022
1 parent 49b3274 commit cb71f43
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,14 +158,14 @@
"lint-docs": "documentation lint src/index.ts",
"lint-css": "stylelint \"src/css/maplibre-gl.css\"",
"test": "run-s lint lint-css lint-docs test-unit",
"test-build": "jest ./test/build",
"test-symbol-shaping": "jest ./test/integration/symbol-shaping",
"test-style-spec": "jest ./test/integration/style-spec",
"test-browser": "jest -c ./jest.config.e2e.js ./test/integration/browser",
"test-build": "jest --roots ./test/build",
"test-symbol-shaping": "jest --roots ./test/integration/symbol-shaping",
"test-style-spec": "jest --roots ./test/integration/style-spec",
"test-browser": "jest -c ./jest.config.e2e.js --roots ./test/integration/browser",
"test-render": "node --loader ts-node/esm --experimental-specifier-resolution=node --experimental-json-modules --max-old-space-size=2048 test/integration/render/render.test.ts",
"test-query": "jest -c ./jest.config.e2e.js test/integration/query",
"test-expression": "jest test/integration/expression",
"test-unit": "jest ./src",
"test-query": "jest -c ./jest.config.e2e.js --roots ./test/integration/query",
"test-expression": "jest --roots ./test/integration/expression",
"test-unit": "jest --roots ./src",
"codegen": "npm run generate-style-code && npm run generate-struct-arrays && npm run generate-style-spec && npm run generate-shaders",
"benchmark": "node --loader ts-node/esm --experimental-specifier-resolution=node test/bench/run-benchmarks.ts",
"gl-stats": "node --loader ts-node/esm --experimental-specifier-resolution=node test/bench/gl-stats.ts",
Expand Down

0 comments on commit cb71f43

Please sign in to comment.