diff options
Diffstat (limited to 'test/internal')
| -rw-r--r-- | test/internal/bind-this-to-member-functions.spec.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/internal/bind-this-to-member-functions.spec.ts b/test/internal/bind-this-to-member-functions.spec.ts index 22a3012d..93b0a9cb 100644 --- a/test/internal/bind-this-to-member-functions.spec.ts +++ b/test/internal/bind-this-to-member-functions.spec.ts @@ -19,7 +19,7 @@ describe('internal', () => { const someMethodWithoutBind = someModule.someMethod; expect(() => someMethodWithoutBind()).toThrow( - new Error("Cannot read properties of undefined (reading 'faker')") + new TypeError("Cannot read properties of undefined (reading 'faker')") ); bindThisToMemberFunctions(someModule); |
