mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 01:23:52 +00:00
refactor common test helpers into test/
This way we can share them with multiple tests
This commit is contained in:
committed by
David Lechner
parent
8ba4143fa7
commit
31c3e2b52e
+3
-2
@@ -44,8 +44,9 @@
|
||||
"prepare": "mkdir -p public/static/js && cp node_modules/@pybricks/mpy-cross-v5/build/mpy-cross.wasm public/static/js/",
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"test": "react-scripts test --env=./test-env.js",
|
||||
"coverage": "react-scripts test --env=./test-env.js --coverage --watchAll=false",
|
||||
"test": "react-scripts test --env=./test/env.js",
|
||||
"coverage": "react-scripts test --env=./test/env.js --coverage --watchAll=false",
|
||||
"coverage:html": "yarn coverage --coverageReporters html",
|
||||
"eject": "react-scripts eject",
|
||||
"lint": "tsc --noEmit && eslint '*/**/*.{js,ts,tsx}' --quiet --fix"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user