Skip to content

Commit

Permalink
[Tests] use es-abstract forEach helper
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Feb 29, 2024
1 parent cc72c2f commit 5438ba6
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 10 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
"available-typed-arrays": "^1.0.7",
"eslint": "=8.8.0",
"evalmd": "^0.0.19",
"for-each": "^0.3.3",
"in-publish": "^2.0.1",
"is-core-module": "^2.13.1",
"npmignore": "^0.3.1",
Expand Down
2 changes: 1 addition & 1 deletion test/Uint8Array.fromBase64.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

var defineProperties = require('define-properties');
var forEach = require('for-each');
var forEach = require('es-abstract/helpers/forEach');
var getProto = require('es-abstract/helpers/getProto');
var inspect = require('object-inspect');
var test = require('tape');
Expand Down
2 changes: 1 addition & 1 deletion test/Uint8Array.fromHex.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

var defineProperties = require('define-properties');
var test = require('tape');
var forEach = require('for-each');
var forEach = require('es-abstract/helpers/forEach');
var getProto = require('es-abstract/helpers/getProto');

var index = require('../Uint8Array.fromHex');
Expand Down
2 changes: 1 addition & 1 deletion test/Uint8Array.prototype.setFromBase64.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var callBind = require('call-bind');
var defineProperties = require('define-properties');
var DetachArrayBuffer = require('es-abstract/2023/DetachArrayBuffer');
var forEach = require('for-each');
var forEach = require('es-abstract/helpers/forEach');
var isCore = require('is-core-module');
var test = require('tape');

Expand Down
2 changes: 1 addition & 1 deletion test/Uint8Array.prototype.setFromHex.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var callBind = require('call-bind');
var defineProperties = require('define-properties');
var DetachArrayBuffer = require('es-abstract/2023/DetachArrayBuffer');
var forEach = require('for-each');
var forEach = require('es-abstract/helpers/forEach');
var isCore = require('is-core-module');
var test = require('tape');

Expand Down
2 changes: 1 addition & 1 deletion test/Uint8Array.prototype.toBase64.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var availableTypedArrays = require('available-typed-arrays')();
var callBind = require('call-bind');
var defineProperties = require('define-properties');
var DetachArrayBuffer = require('es-abstract/2023/DetachArrayBuffer');
var forEach = require('for-each');
var forEach = require('es-abstract/helpers/forEach');
var isCore = require('is-core-module');
var test = require('tape');

Expand Down
2 changes: 1 addition & 1 deletion test/Uint8Array.prototype.toHex.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var availableTypedArrays = require('available-typed-arrays')();
var callBind = require('call-bind');
var defineProperties = require('define-properties');
var DetachArrayBuffer = require('es-abstract/2023/DetachArrayBuffer');
var forEach = require('for-each');
var forEach = require('es-abstract/helpers/forEach');
var inspect = require('object-inspect');
var isCore = require('is-core-module');
var test = require('tape');
Expand Down
2 changes: 1 addition & 1 deletion test/implementation.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

var test = require('tape');
var forEach = require('for-each');
var forEach = require('es-abstract/helpers/forEach');

var shims = require('../');

Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

var test = require('tape');
var forEach = require('for-each');
var forEach = require('es-abstract/helpers/forEach');

var shims = require('../');

Expand Down
2 changes: 1 addition & 1 deletion test/shimmed.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
require('../auto');

var test = require('tape');
var forEach = require('for-each');
var forEach = require('es-abstract/helpers/forEach');

var shims = require('../');

Expand Down

0 comments on commit 5438ba6

Please sign in to comment.