Shift try/catch to decode #227
Annotations
11 errors
src/parse.spec.ts > cookie.parse(str) > should return original value on escape error:
src/parse.spec.ts#L53
AssertionError: expected { bar: 'bar' } to deeply equal { foo: '%1', bar: 'bar' }
- Expected
+ Received
Object {
"bar": "bar",
- "foo": "%1",
}
❯ src/parse.spec.ts:53:44
|
src/parse.spec.ts > cookie.parse(str) > should ignore duplicate cookies:
src/parse.spec.ts#L62
AssertionError: expected { bar: 'bar', foo: 'boo' } to deeply equal { foo: '%1', bar: 'bar' }
- Expected
+ Received
Object {
"bar": "bar",
- "foo": "%1",
+ "foo": "boo",
}
❯ src/parse.spec.ts:62:52
|
Node.js 18
Process completed with exit code 1.
|
Node.js 20
The job was canceled because "_18" failed.
|
src/parse.spec.ts > cookie.parse(str) > should return original value on escape error:
src/parse.spec.ts#L53
AssertionError: expected { bar: 'bar' } to deeply equal { foo: '%1', bar: 'bar' }
- Expected
+ Received
Object {
"bar": "bar",
- "foo": "%1",
}
❯ src/parse.spec.ts:53:44
|
src/parse.spec.ts > cookie.parse(str) > should ignore duplicate cookies:
src/parse.spec.ts#L62
AssertionError: expected { bar: 'bar', foo: 'boo' } to deeply equal { foo: '%1', bar: 'bar' }
- Expected
+ Received
Object {
"bar": "bar",
- "foo": "%1",
+ "foo": "boo",
}
❯ src/parse.spec.ts:62:52
|
Node.js 20
Process completed with exit code 1.
|
Node.js 22
The job was canceled because "_18" failed.
|
src/parse.spec.ts > cookie.parse(str) > should return original value on escape error:
src/parse.spec.ts#L53
AssertionError: expected { bar: 'bar' } to deeply equal { foo: '%1', bar: 'bar' }
- Expected
+ Received
Object {
"bar": "bar",
- "foo": "%1",
}
❯ src/parse.spec.ts:53:44
|
src/parse.spec.ts > cookie.parse(str) > should ignore duplicate cookies:
src/parse.spec.ts#L62
AssertionError: expected { bar: 'bar', foo: 'boo' } to deeply equal { foo: '%1', bar: 'bar' }
- Expected
+ Received
Object {
"bar": "bar",
- "foo": "%1",
+ "foo": "boo",
}
❯ src/parse.spec.ts:62:52
|
Node.js 22
The operation was canceled.
|