Skip to content

Remove quote parsing from package #246

Remove quote parsing from package

Remove quote parsing from package #246

Triggered via pull request October 8, 2024 19:14
Status Failure
Total duration 24s
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 20
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.
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
The operation was canceled.