Skip to content

Commit

Permalink
Simplify jest calls
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Jan 30, 2024
1 parent c76f2e8 commit 20d918a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,16 +66,15 @@
"prettierbase": "prettier '**/*.{md,css,yml}'",
"format": "eslint . --fix && yarn prettierbase --write",
"lint": "eslint . && yarn prettierbase --check",
"jest": "NODE_OPTIONS=--experimental-vm-modules npx jest",
"test": "yarn jest test/ && yarn lint && yarn schema && yarn jest examples/ && yarn test:runtime",
"test:cover": "yarn jest --collectCoverage test/",
"test:inspect": "node --inspect-brk --experimental-vm-modules ./node_modules/.bin/jest --runInBand test",
"test:runtime": "NODE_OPTIONS=--experimental-vm-modules TZ=America/Los_Angeles npx jest test-runtime/ --config test-runtime/jest.config.js",
"test:inspect": "node --inspect-brk ./node_modules/.bin/jest --runInBand test",
"test:runtime": "NODE_OPTIONS=TZ=America/Los_Angeles npx jest test-runtime/ --config test-runtime/jest.config.js",
"test:runtime:generate": "yarn build:only && del-cli test-runtime/resources && VL_GENERATE_TESTS=true yarn test:runtime",
"watch": "tsc -p tsconfig.build.json -w",
"watch:site": "yarn build:site -w",
"watch:test": "yarn jest --watch test/",
"watch:test:runtime": "NODE_OPTIONS=--experimental-vm-modules TZ=America/Los_Angeles npx jest --watch test-runtime/ --config test-runtime/jest.config.js",
"watch:test:runtime": "NODE_OPTIONS=TZ=America/Los_Angeles npx jest --watch test-runtime/ --config test-runtime/jest.config.js",
"release": "release-it"
},
"repository": {
Expand Down
3 changes: 2 additions & 1 deletion test-runtime/babel.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ module.exports = {
}
],
'@babel/preset-typescript'
]
],
plugins: ['@babel/plugin-syntax-import-attributes']
};

0 comments on commit 20d918a

Please sign in to comment.