Skip to content

Commit

Permalink
drop { Map, WeakMap }#{ upsert, updateOrInsert }.name tests
Browse files Browse the repository at this point in the history
(anyway, it's obsolete)
  • Loading branch information
zloirock committed Feb 18, 2021
1 parent 3ec7426 commit 1d4b84f
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion tests/pure/esnext.map.update-or-insert.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ QUnit.test('Map#updateOrInsert', assert => {
const { updateOrInsert } = Map.prototype;
assert.isFunction(updateOrInsert);
assert.arity(updateOrInsert, 2);
assert.name(updateOrInsert, 'upsert');
assert.nonEnumerable(Map.prototype, 'updateOrInsert');

const map = new Map([['a', 2]]);
Expand Down
1 change: 0 additions & 1 deletion tests/pure/esnext.map.upsert.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ QUnit.test('Map#upsert', assert => {
const { upsert } = Map.prototype;
assert.isFunction(upsert);
assert.arity(upsert, 2);
assert.name(upsert, 'upsert');
assert.nonEnumerable(Map.prototype, 'upsert');

const map = new Map([['a', 2]]);
Expand Down
1 change: 0 additions & 1 deletion tests/pure/esnext.weak-map.upsert.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ QUnit.test('WeakMap#upsert', assert => {
const { upsert } = WeakMap.prototype;
assert.isFunction(upsert);
assert.arity(upsert, 2);
assert.name(upsert, 'upsert');
assert.nonEnumerable(WeakMap.prototype, 'upsert');

const a = {};
Expand Down
1 change: 0 additions & 1 deletion tests/tests/esnext.map.update-or-insert.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ QUnit.test('Map#updateOrInsert', assert => {
const { updateOrInsert } = Map.prototype;
assert.isFunction(updateOrInsert);
assert.arity(updateOrInsert, 2);
assert.name(updateOrInsert, 'upsert');
assert.looksNative(updateOrInsert);
assert.nonEnumerable(Map.prototype, 'updateOrInsert');

Expand Down
1 change: 0 additions & 1 deletion tests/tests/esnext.map.update.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ QUnit.test('Map#update', assert => {
const { update } = Map.prototype;
assert.isFunction(update);
assert.arity(update, 2);
assert.name(update, 'update');
assert.looksNative(update);
assert.nonEnumerable(Map.prototype, 'update');

Expand Down
1 change: 0 additions & 1 deletion tests/tests/esnext.weak-map.upsert.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ QUnit.test('WeakMap#upsert', assert => {
const { upsert } = WeakMap.prototype;
assert.isFunction(upsert);
assert.arity(upsert, 2);
assert.name(upsert, 'upsert');
assert.looksNative(upsert);
assert.nonEnumerable(WeakMap.prototype, 'upsert');

Expand Down

0 comments on commit 1d4b84f

Please sign in to comment.