Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into main
  • Loading branch information
BreadInvasion authored Jan 22, 2025
commit 8371f6c45397b1a5fe8d6d0cb10d24788e67687f
18 changes: 3 additions & 15 deletions lib/chai/interface/assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -3220,21 +3220,9 @@ const aliases = [
['isEmpty', 'empty'],
['isNotEmpty', 'notEmpty'],
['isCallable', 'isFunction'],
['isNotCallable', 'isNotFunction']
['isNotCallable', 'isNotFunction'],
['containsSubset', 'containSubset']
];
for (const [name, as] of aliases) {
assert[as] = assert[name];
return alias;
})('isOk', 'ok')('isNotOk', 'notOk')('throws', 'throw')('throws', 'Throw')(
'isExtensible',
'extensible'
)('isNotExtensible', 'notExtensible')('isSealed', 'sealed')(
'isNotSealed',
'notSealed'
)('isFrozen', 'frozen')('isNotFrozen', 'notFrozen')('isEmpty', 'empty')(
'isNotEmpty',
'notEmpty'
)('isCallable', 'isFunction')('isNotCallable', 'isNotFunction')(
'containsSubset',
'containSubset'
);
}
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.