Skip to content

Remove quote parsing from package #230

Remove quote parsing from package

Remove quote parsing from package #230

Triggered via pull request October 7, 2024 22:52
Status Failure
Total duration 21s
Artifacts

ci.yml

on: pull_request
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 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 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 22
The job was canceled because "_18" 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
Process completed with exit code 1.