Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox testing #2620

Merged
merged 2 commits into from
May 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@
"args": ["start", "--chrome"],
"console": "integratedTerminal"
},
{
"type": "node",
"request": "launch",
"name": "Test all files (Firefox)",
"program": "${workspaceFolder}/node_modules/karma/bin/karma",
"args": ["start", "--firefox"],
"console": "integratedTerminal"
},
{
"type": "node",
"request": "launch",
Expand All @@ -33,6 +41,14 @@
"args": ["start", "--chrome", "--components", "${fileBasenameNoExtension}"],
"console": "integratedTerminal"
},
{
"type": "node",
"request": "launch",
"name": "Test current file (Firefox)",
"program": "${workspaceFolder}/node_modules/karma/bin/karma",
"args": ["start", "--firefox", "--components", "${fileBasenameNoExtension}"],
"console": "integratedTerminal"
},
{
"type": "node",
"request": "launch",
Expand All @@ -49,6 +65,14 @@
"args": ["start", "--chrome", "--no-single-run"],
"console": "integratedTerminal"
},
{
"type": "node",
"request": "launch",
"name": "Debug All Unit Tests (Firefox)",
"program": "${workspaceFolder}/node_modules/karma/bin/karma",
"args": ["start", "--firefox", "--no-single-run"],
"console": "integratedTerminal"
},
{
"type": "node",
"request": "launch",
Expand All @@ -71,6 +95,20 @@
],
"console": "integratedTerminal"
},
{
"type": "node",
"request": "launch",
"name": "Debug current unit test file (Firefox)",
"program": "${workspaceFolder}/node_modules/karma/bin/karma",
"args": [
"start",
"--firefox",
"--components",
"${fileBasenameNoExtension}",
"--no-single-run"
],
"console": "integratedTerminal"
},
{
"type": "chrome",
"request": "launch",
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"test:chrome": "node tools/build.js normalize & karma start --chrome",
"test:firefox": "node tools/build.js normalize & karma start --firefox",
"test:debug": "node tools/build.js normalize & karma start --no-single-run --chrome",
"test:debug-firefox": "node tools/build.js normalize & karma start --no-single-run --firefox",
"test:coverage": "node tools/build.js normalize & karma start --coverage --firefox --chrome",
"publish": "node tools/build.js clean normalize buildcommonjs buildamd buildmjs dts pack packprod builddemo builddoc publish"
},
Expand Down
Loading