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: nodejs/node#48989
Backport-PR-URL: nodejs/node#49225
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
  • Loading branch information
sercher committed Apr 25, 2024
1 parent 3885d4c commit b52c472
Show file tree
Hide file tree
Showing 18 changed files with 4 additions and 18 deletions.
1 change: 0 additions & 1 deletion graal-nodejs/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
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
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
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
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
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 graal-nodejs/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
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
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 graal-nodejs/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 graal-nodejs/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
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
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 graal-nodejs/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', () => {});
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,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
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 b52c472

Please sign in to comment.