Skip to content

Commit 1353681

Browse files
authored
test: remove --no-warnings flag in test_runner fixtures
no longer needed after #48915 fix PR-URL: #48989 Reviewed-By: Moshe Atlow <[email protected]> Reviewed-By: Chemi Atlow <[email protected]>
1 parent f214155 commit 1353681

18 files changed

+4
-18
lines changed

test/fixtures/test-runner/output/abort.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --no-warnings
21
'use strict';
32
require('../../../common');
43
const test = require('node:test');

test/fixtures/test-runner/output/abort_hooks.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --no-warnings
21
'use strict';
32
const { before, beforeEach, describe, it, after, afterEach } = require('node:test');
43

test/fixtures/test-runner/output/abort_suite.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --no-warnings
21
'use strict';
32
require('../../../common');
43
const { describe, it } = require('node:test');

test/fixtures/test-runner/output/describe_it.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --no-warnings
21
'use strict';
32
require('../../../common');
43
const assert = require('node:assert');

test/fixtures/test-runner/output/describe_nested.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --no-warnings
21
'use strict';
32
require('../../../common');
43
const { describe, it } = require('node:test');

test/fixtures/test-runner/output/dot_reporter.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --no-warnings
21
'use strict';
32
require('../../../common');
43
const fixtures = require('../../../common/fixtures');

test/fixtures/test-runner/output/hooks.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --no-warnings
21
'use strict';
32
const common = require('../../../common');
43
const assert = require('assert');

test/fixtures/test-runner/output/name_pattern.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --no-warnings --test-name-pattern=enabled --test-name-pattern=yes --test-name-pattern=/pattern/i
1+
// Flags: --test-name-pattern=enabled --test-name-pattern=yes --test-name-pattern=/pattern/i
22
'use strict';
33
const common = require('../../../common');
44
const {

test/fixtures/test-runner/output/name_pattern_with_only.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --no-warnings --test-only --test-name-pattern=enabled
1+
// Flags: --test-only --test-name-pattern=enabled
22
'use strict';
33
const common = require('../../../common');
44
const { test } = require('node:test');

test/fixtures/test-runner/output/no_refs.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --no-warnings
21
'use strict';
32
require('../../../common');
43
const test = require('node:test');

test/fixtures/test-runner/output/no_tests.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --no-warnings
21
'use strict';
32
require('../../../common');
43
const test = require('node:test');

test/fixtures/test-runner/output/only_tests.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --no-warnings --test-only
1+
// Flags: --test-only
22
'use strict';
33
require('../../../common');
44
const { test, describe, it } = require('node:test');

test/fixtures/test-runner/output/output_cli.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --no-warnings
21
'use strict';
32
require('../../../common');
43
const fixtures = require('../../../common/fixtures');
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --no-warnings
21
'use strict';
32
const test = require('node:test');
43
test('last test', () => {});

test/fixtures/test-runner/output/spec_reporter.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --no-warnings
21
'use strict';
32
require('../../../common');
43
const fixtures = require('../../../common/fixtures');

test/fixtures/test-runner/output/spec_reporter_cli.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --no-warnings
21
'use strict';
32
require('../../../common');
43
const fixtures = require('../../../common/fixtures');

test/fixtures/test-runner/output/spec_reporter_successful.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Flags: --no-warnings --test-reporter=spec
1+
// Flags: --test-reporter=spec
22
'use strict';
33
require('../../../common');
44
const { it } = require('node:test');

test/fixtures/test-runner/output/unresolved_promise.js

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// Flags: --no-warnings
21
'use strict';
32
require('../../../common');
43
const test = require('node:test');

0 commit comments

Comments
 (0)