Skip to content

Commit

Permalink
Merge branch 'develop' into symbolicEqual-types
Browse files Browse the repository at this point in the history
  • Loading branch information
josdejong authored Oct 25, 2023
2 parents 9f83877 + 843a5fd commit f60becc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit-tests/utils/object.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ describe('object', function () {
})

it('should throw an error in case of an unsupported type', function () {
assert.throws(function () { clone(/a regexp/) }, /Cannot clone: unknown type of value \(value: \/a regexp\/\)/)
assert.throws(function () { clone(() => 42) }, /Cannot clone: unknown type of value \(value: \(\) => 42\)/)
assert.throws(function () { clone(/a regexp/) }, /Cannot clone: unknown type of value/)
assert.throws(function () { clone(() => 42) }, /Cannot clone: unknown type of value/)
})
})

Expand Down

0 comments on commit f60becc

Please sign in to comment.