Skip to content

Remove quote parsing from package #229

Remove quote parsing from package

Remove quote parsing from package #229

Triggered via push October 7, 2024 22:48
Status Failure
Total duration 23s
Artifacts

ci.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

14 errors
src/parse.spec.ts > cookie.parse(str) > should URL-decode values: src/parse.spec.ts#L27
AssertionError: expected { Object (foo) } to deeply equal { Object (foo) } - Expected + Received Object { - "foo": "bar=123456789&name=Magic+Mouse", + "foo": "\"bar=123456789&name=Magic+Mouse\"", } ❯ src/parse.spec.ts:27:66
src/parse.spec.ts > cookie.parse(str) > should parse quoted values: src/parse.spec.ts#L35
AssertionError: expected { foo: '"bar"' } to deeply equal { foo: 'bar' } - Expected + Received Object { - "foo": "bar", + "foo": "\"bar\"", } ❯ src/parse.spec.ts:35:39
src/parse.spec.ts > cookie.parse(str) > should trim whitespace around key and value: src/parse.spec.ts#L40
AssertionError: expected { foo: '"bar"' } to deeply equal { foo: 'bar' } - Expected + Received Object { - "foo": "bar", + "foo": "\"bar\"", } ❯ src/parse.spec.ts:40:47
Node.js 20
Process completed with exit code 1.
Node.js 18
The job was canceled because "_20" failed.
src/parse.spec.ts > cookie.parse(str) > should URL-decode values: src/parse.spec.ts#L27
AssertionError: expected { Object (foo) } to deeply equal { Object (foo) } - Expected + Received Object { - "foo": "bar=123456789&name=Magic+Mouse", + "foo": "\"bar=123456789&name=Magic+Mouse\"", } ❯ src/parse.spec.ts:27:66
src/parse.spec.ts > cookie.parse(str) > should parse quoted values: src/parse.spec.ts#L35
AssertionError: expected { foo: '"bar"' } to deeply equal { foo: 'bar' } - Expected + Received Object { - "foo": "bar", + "foo": "\"bar\"", } ❯ src/parse.spec.ts:35:39
src/parse.spec.ts > cookie.parse(str) > should trim whitespace around key and value: src/parse.spec.ts#L40
AssertionError: expected { foo: '"bar"' } to deeply equal { foo: 'bar' } - Expected + Received Object { - "foo": "bar", + "foo": "\"bar\"", } ❯ src/parse.spec.ts:40:47
Node.js 18
Process completed with exit code 1.
Node.js 22
The job was canceled because "_20" failed.
src/parse.spec.ts > cookie.parse(str) > should URL-decode values: src/parse.spec.ts#L27
AssertionError: expected { Object (foo) } to deeply equal { Object (foo) } - Expected + Received Object { - "foo": "bar=123456789&name=Magic+Mouse", + "foo": "\"bar=123456789&name=Magic+Mouse\"", } ❯ src/parse.spec.ts:27:66
src/parse.spec.ts > cookie.parse(str) > should parse quoted values: src/parse.spec.ts#L35
AssertionError: expected { foo: '"bar"' } to deeply equal { foo: 'bar' } - Expected + Received Object { - "foo": "bar", + "foo": "\"bar\"", } ❯ src/parse.spec.ts:35:39
src/parse.spec.ts > cookie.parse(str) > should trim whitespace around key and value: src/parse.spec.ts#L40
AssertionError: expected { foo: '"bar"' } to deeply equal { foo: 'bar' } - Expected + Received Object { - "foo": "bar", + "foo": "\"bar\"", } ❯ src/parse.spec.ts:40:47
Node.js 22
The operation was canceled.