Skip to content

Commit

Permalink
Add disable_local_debug to qunit, as we have a bug we need to fix, bu…
Browse files Browse the repository at this point in the history
…t it was likely pre-existing

Add disable_local_debug to bin/run-tests
  • Loading branch information
NullVoxPopuli committed Nov 14, 2023
1 parent 0092ad7 commit 1856b8c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bin/run-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function run(queryString) {
queryString = `${queryString}&debugrendertree`;
}

let url = 'http://localhost:' + PORT + '/tests/?' + queryString;
let url = 'http://localhost:' + PORT + '/tests/?disable_local_debug&' + queryString;
return runInBrowser(url, 3);
}

Expand Down
2 changes: 1 addition & 1 deletion testem.browserstack.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const BrowserStackLaunchers = {
};

module.exports = {
test_page: 'dist/tests/index.html?hidepassed&hideskipped&timeout=60000',
test_page: 'dist/tests/index.html?hidepassed&hideskipped&timeout=60000&disable_local_debug',
timeout: 1200,
reporter: FailureOnlyPerBrowserReporter,
browser_start_timeout: 2000,
Expand Down
2 changes: 1 addition & 1 deletion testem.ci-browsers.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const FailureOnlyReporter = require('testem-failure-only-reporter');

module.exports = {
test_page: 'tests/index.html?hidepassed&hideskipped&timeout=60000',
test_page: 'tests/index.html?hidepassed&hideskipped&timeout=60000&disable_local_debug',
browser_disconnect_timeout: 120,
timeout: 540,
parallel: 1,
Expand Down
8 changes: 7 additions & 1 deletion testem.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
module.exports = {
test_page: 'tests/index.html?hidepassed',
/**
* disable_local_debug was added as a supported dev-time glimmer-vm feature and lives here:
* https://github.com/glimmerjs/glimmer-vm/blob/master/packages/%40glimmer/local-debug-flags/index.ts
*
* It was introduced in: https://github.com/glimmerjs/glimmer-vm/pull/1427
*/
test_page: 'tests/index.html?hidepassed&disable_local_debug',
timeout: 540,
parallel: 4,
disable_watching: true,
Expand Down

0 comments on commit 1856b8c

Please sign in to comment.