Skip to content

Commit

Permalink
re-add testing of esm browser builds
Browse files Browse the repository at this point in the history
It seems unclear why it was removed in the first place: I have tested extensively that it
does work and it does fail the build if changing any assertion in the script
  • Loading branch information
fatso83 committed Aug 26, 2024
1 parent da4230a commit 0c609f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"test-cloud": "npm run test-headless -- --wd",
"test-webworker": "mochify --no-detect-globals --https-server 0 --no-request-interception test/webworker/webworker-support-assessment.js",
"test-esm-support": "mocha test/es2015/module-support-assessment-test.mjs",
"check-esm-bundle-runs-in-browser": "node test/es2015/check-esm-bundle-is-runnable.js",
"test-esm-browser-build": "node test/es2015/check-esm-bundle-is-runnable.js",
"test-docker-image": "docker-compose up",
"test-runnable-examples": "docs/release-source/release/examples/run-test.sh",
"test": "npm run test-node && npm run test-headless && npm run test-webworker",
Expand All @@ -51,7 +51,7 @@
"unimported": "unimported .",
"pretest-webworker": "npm run build",
"prebuild": "rimraf pkg && npm run check-dependencies",
"postbuild": "npm run test-esm-support ",
"postbuild": "npm run test-esm-support && npm run test-esm-browser-build",
"prebuild-docs": "./scripts/update-compatibility.js",
"prepublishOnly": "npm run build",
"prettier:check": "prettier --check '**/*.{js,css,md}'",
Expand Down

0 comments on commit 0c609f9

Please sign in to comment.