Skip to content

Commit

Permalink
[Tests] build tests in test env
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jul 11, 2024
1 parent 4352fd6 commit 0202ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"prepublishOnly": "npm run build",
"pretest": "npm run lint:fix && npm run flow",
"test": "npm run tests-only",
"build:tests": "npm run build && rimraf __tests-built__ && babel __tests__ --out-dir __tests-built__",
"build:tests": "npm run build && rimraf __tests-built__ && BABEL_ENV=test babel __tests__ --out-dir __tests-built__",
"tests-built": "nyc tape '__tests-built__/**/*.js'",
"tests-only": "nyc tape -r @babel/register '__tests__/**/*.js'",
"prepack": "npm run build"
Expand Down

0 comments on commit 0202ee9

Please sign in to comment.