Skip to content

Commit

Permalink
test: remove --no-warnings flag in test_runner fixtures
Browse files Browse the repository at this point in the history
no longer needed after #48915 fix

PR-URL: #48989
Backport-PR-URL: #49225
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
  • Loading branch information
rluvaton authored and targos committed Nov 27, 2023
1 parent 71f7ed7 commit 7e714e6
Show file tree
Hide file tree
Showing 18 changed files with 4 additions and 18 deletions.
1 change: 0 additions & 1 deletion test/fixtures/test-runner/output/abort.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Flags: --no-warnings
'use strict';
require('../../../common');
const test = require('node:test');
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/test-runner/output/abort_hooks.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Flags: --no-warnings
'use strict';
const { before, beforeEach, describe, it, after, afterEach } = require('node:test');

Expand Down
1 change: 0 additions & 1 deletion test/fixtures/test-runner/output/abort_suite.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Flags: --no-warnings
'use strict';
require('../../../common');
const { describe, it } = require('node:test');
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/test-runner/output/describe_it.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Flags: --no-warnings
'use strict';
require('../../../common');
const assert = require('node:assert');
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/test-runner/output/describe_nested.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Flags: --no-warnings
'use strict';
require('../../../common');
const { describe, it } = require('node:test');
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/test-runner/output/dot_reporter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Flags: --no-warnings
'use strict';
require('../../../common');
const fixtures = require('../../../common/fixtures');
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/test-runner/output/hooks.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Flags: --no-warnings
'use strict';
const common = require('../../../common');
const assert = require('assert');
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/test-runner/output/name_pattern.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Flags: --no-warnings --test-name-pattern=enabled --test-name-pattern=yes --test-name-pattern=/pattern/i
// Flags: --test-name-pattern=enabled --test-name-pattern=yes --test-name-pattern=/pattern/i
'use strict';
const common = require('../../../common');
const {
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/test-runner/output/name_pattern_with_only.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Flags: --no-warnings --test-only --test-name-pattern=enabled
// Flags: --test-only --test-name-pattern=enabled
'use strict';
const common = require('../../../common');
const { test } = require('node:test');
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/test-runner/output/no_refs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Flags: --no-warnings
'use strict';
require('../../../common');
const test = require('node:test');
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/test-runner/output/no_tests.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Flags: --no-warnings
'use strict';
require('../../../common');
const test = require('node:test');
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/test-runner/output/only_tests.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Flags: --no-warnings --test-only
// Flags: --test-only
'use strict';
require('../../../common');
const { test, describe, it } = require('node:test');
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/test-runner/output/output_cli.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Flags: --no-warnings
'use strict';
require('../../../common');
const fixtures = require('../../../common/fixtures');
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/test-runner/output/single.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Flags: --no-warnings
'use strict';
const test = require('node:test');
test('last test', () => {});
1 change: 0 additions & 1 deletion test/fixtures/test-runner/output/spec_reporter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Flags: --no-warnings
'use strict';
require('../../../common');
const fixtures = require('../../../common/fixtures');
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/test-runner/output/spec_reporter_cli.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Flags: --no-warnings
'use strict';
require('../../../common');
const fixtures = require('../../../common/fixtures');
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Flags: --no-warnings --test-reporter=spec
// Flags: --test-reporter=spec
'use strict';
require('../../../common');
const { it } = require('node:test');
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/test-runner/output/unresolved_promise.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Flags: --no-warnings
'use strict';
require('../../../common');
const test = require('node:test');
Expand Down

0 comments on commit 7e714e6

Please sign in to comment.