Skip to content

Commit

Permalink
fix QUnit.nonConfigurable helper
Browse files Browse the repository at this point in the history
  • Loading branch information
zloirock committed Oct 6, 2023
1 parent 78b9e94 commit 2d1d9ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/helpers/qunit-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ assign(QUnit.assert, {
actual: result,
expected: 'The property should be non-configurable',
message: DESCRIPTORS
? 'Configurability is not applicable'
: message ?? `${ typeof key == 'symbol' ? 'property' : `'${ key }'` } is non-configurable`,
? message ?? `${ typeof key == 'symbol' ? 'property' : `'${ key }'` } is non-configurable`
: 'Configurability is not applicable',
});
},
nonEnumerable(O, key, message) {
Expand Down

0 comments on commit 2d1d9ca

Please sign in to comment.