GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: remove eslint-disable comments from fixtures · nodejs/node@20ec776

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • test/fixtures
    • es-module-loaders
      • loader-invalid-url.mjs
      • throw-undefined.mjs
    • es-modules
      • import-json-named-export.mjs
    • wpt/streams
      • readable-streams
        • general.any.js
        • patched-global.any.js
      • resources
        • test-utils.js
      • transform-streams
        • patched-global.any.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎test/fixtures/es-module-loaders/loader-invalid-url.mjs‎

Copy file name to clipboardExpand all lines: test/fixtures/es-module-loaders/loader-invalid-url.mjs
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable node-core/required-modules */
21
export async function resolve(specifier, { parentURL, importAssertions }, defaultResolve) {
32
if (parentURL && specifier === '../fixtures/es-modules/test-esm-ok.mjs') {
43
return {
Collapse file

‎test/fixtures/es-module-loaders/throw-undefined.mjs‎

Copy file name to clipboard
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
'use strict';
2-
/* eslint-disable node-core/required-modules */
32

43
throw undefined;
Collapse file

‎test/fixtures/es-modules/import-json-named-export.mjs‎

Copy file name to clipboard
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
/* eslint-disable no-unused-vars */
21
import { ofLife } from '../experimental.json' assert { type: 'json' };
Collapse file

‎test/fixtures/wpt/streams/readable-streams/general.any.js‎

Copy file name to clipboardExpand all lines: test/fixtures/wpt/streams/readable-streams/general.any.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,6 @@ promise_test(() => {
630630
let pullCalled = 0;
631631
let cancelCalled = 0;
632632

633-
/* eslint-disable no-use-before-define */
634633
class Source {
635634
start(c) {
636635
startCalled++;
Collapse file

‎test/fixtures/wpt/streams/readable-streams/patched-global.any.js‎

Copy file name to clipboardExpand all lines: test/fixtures/wpt/streams/readable-streams/patched-global.any.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ test(t => {
2222

2323
const trappedProperties = ['highWaterMark', 'size', 'start', 'type', 'mode'];
2424
for (const property of trappedProperties) {
25-
// eslint-disable-next-line no-extend-native, accessor-pairs
2625
Object.defineProperty(Object.prototype, property, {
2726
get() { throw new Error(`${property} getter called`); },
2827
configurable: true
Collapse file

‎test/fixtures/wpt/streams/resources/test-utils.js‎

Copy file name to clipboardExpand all lines: test/fixtures/wpt/streams/resources/test-utils.js
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ self.garbageCollect = () => {
5757
// Present in some WebKit development environments
5858
GCController.collect();
5959
} else {
60-
/* eslint-disable no-console */
6160
console.warn('Tests are running without the ability to do manual garbage collection. They will still work, but ' +
6261
'coverage will be suboptimal.');
6362
/* eslint-enable no-console */
Collapse file

‎test/fixtures/wpt/streams/transform-streams/patched-global.any.js‎

Copy file name to clipboardExpand all lines: test/fixtures/wpt/streams/transform-streams/patched-global.any.js
-2Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@
55
// interfering with other tests.
66

77
test(t => {
8-
// eslint-disable-next-line no-extend-native, accessor-pairs
98
Object.defineProperty(Object.prototype, 'highWaterMark', {
109
set() { throw new Error('highWaterMark setter called'); },
1110
configurable: true
1211
});
1312

14-
// eslint-disable-next-line no-extend-native, accessor-pairs
1513
Object.defineProperty(Object.prototype, 'size', {
1614
set() { throw new Error('size setter called'); },
1715
configurable: true

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.