This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
Feat(browser-emulator): Migrating away from proxies, lots of extra improvements and enabling TS strict mode #826
Annotations
10 errors and 1 warning
undefined#L1
TypeError: Constructor Proxy requires 'new'
|
undefined#L1
TypeError: Constructor Proxy requires 'new'
|
<anonymous>#L2
TypeError: Constructor Proxy requires 'new'
at checkInstanceof (<anonymous>:2:27)
|
<anonymous>#L2
TypeError: Constructor Proxy requires 'new'
at checkInstanceof (<anonymous>:2:27)
|
plugins/default-browser-emulator/test/detection.test.ts#L1007
expect(received).toHaveLength(expected)
Matcher error: received value must have a length property whose value must be a number
Received has value: null
at Object.<anonymous> (../plugins/default-browser-emulator/test/detection.test.ts:1007:62)
|
<anonymous>#L21
expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 4
Object {
- "path": " at Object.get (<anonymous>:12:24)
- at script (<anonymous>:19:41)
+ "message": "Constructor Proxy requires 'new'",
+ "name": "TypeError",
+ "stack": "TypeError: Constructor Proxy requires 'new'
+ at script (<anonymous>:10:29)
at safeScript (<anonymous>:21:7)
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:113:18)
|
<anonymous>#L25
expect(received).toEqual(expected) // deep equality
- Expected - 4
+ Received + 3
Object {
- "message": "Object.setPrototypeOf called on null or undefined",
+ "message": "Constructor Proxy requires 'new'",
"name": "TypeError",
- "stack": "TypeError: Object.setPrototypeOf called on null or undefined
- at Function.setPrototypeOf (<anonymous>)
- at script (<anonymous>:24:31)
+ "stack": "TypeError: Constructor Proxy requires 'new'
+ at script (<anonymous>:9:19)
at safeScript (<anonymous>:25:7)
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:152:18)
|
<anonymous>#L12
expect(received).toEqual(expected) // deep equality
Expected: "TypeError: Cannot set properties of undefined (setting 'innerHTML')
at Proxy.leak (<anonymous>:12:45)
at script (<anonymous>:19:21)
at safeScript (<anonymous>:20:7)
Received: {"message": "Constructor Proxy requires 'new'", "name": "TypeError", "stack": "TypeError: Constructor Proxy requires 'new'
at script (<anonymous>:18:31)
at safeScript (<anonymous>:20:7)
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:350:18)
|
<anonymous>#L10
expect(received).toEqual(expected) // deep equality
- Expected - 4
+ Received + 3
Object {
- "message": "Function.prototype.toString requires that 'this' be a Function",
+ "message": "Constructor Proxy requires 'new'",
"name": "TypeError",
- "stack": "TypeError: Function.prototype.toString requires that 'this' be a Function
- at Object.toString (<anonymous>)
- at proxiedFnStack (<anonymous>:9:84)
+ "stack": "TypeError: Constructor Proxy requires 'new'
+ at proxiedFnStack (<anonymous>:9:30)
at safeScript (<anonymous>:10:7)
}
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:479:20)
|
<anonymous>#L9
expect(received).toEqual(expected) // deep equality
Expected: "string"
Received: {"message": "Constructor Proxy requires 'new'", "name": "TypeError", "stack": "TypeError: Constructor Proxy requires 'new'
at script (<anonymous>:9:23)
at safeScript (<anonymous>:15:7)
at Object.<anonymous> (../plugins/default-browser-emulator/test/proxyLeak.test.ts:559:18)
|
|
This job failed
Loading