Skip to content

fix: use querystring to stringify data #1151

fix: use querystring to stringify data

fix: use querystring to stringify data #1151

Triggered via pull request February 20, 2024 09:38
Status Failure
Total duration 6m 13s
Artifacts

nodejs.yml

on: pull_request
Node.js  /  Setup
8s
Node.js / Setup
Matrix: Node.js / Test
Fit to window
Zoom out
Zoom in

Annotations

31 errors
test/options.data.test.ts > options.data.test.ts > should default GET with data and auto convert to query string: test/options.data.test.ts#L41
AssertionError: Expected values to be strictly equal: + actual - expected + '/?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b' - '/?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true&g=a&g=b' - Expected + Received - /?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true&g=a&g=b + /?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b ❯ test/options.data.test.ts:41:12
test/options.data.test.ts > options.data.test.ts > should concat query string and data correctly when GET: test/options.data.test.ts#L168
AssertionError: Expected values to be strictly equal: + actual - expected + '/?that=in_path&sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88' - '/?that=in_path&sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88' - Expected + Received - /?that=in_path&sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88 + /?that=in_path&sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88 ❯ test/options.data.test.ts:168:12
Node.js / Test (ubuntu-latest, 20)
Process completed with exit code 1.
test/options.data.test.ts > options.data.test.ts > should default GET with data and auto convert to query string: test/options.data.test.ts#L41
AssertionError: Expected values to be strictly equal: + actual - expected + '/?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b' - '/?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true&g=a&g=b' - Expected + Received - /?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true&g=a&g=b + /?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b ❯ test/options.data.test.ts:41:12
test/options.data.test.ts > options.data.test.ts > should concat query string and data correctly when GET: test/options.data.test.ts#L168
AssertionError: Expected values to be strictly equal: + actual - expected + '/?that=in_path&sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88' - '/?that=in_path&sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88' - Expected + Received - /?that=in_path&sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88 + /?that=in_path&sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88 ❯ test/options.data.test.ts:168:12
Node.js / Test (ubuntu-latest, 16)
Process completed with exit code 1.
test/options.data.test.ts > options.data.test.ts > should default GET with data and auto convert to query string: test/options.data.test.ts#L41
AssertionError: Expected values to be strictly equal: + actual - expected + '/?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b' - '/?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true&g=a&g=b' - Expected + Received - /?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true&g=a&g=b + /?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b ❯ test/options.data.test.ts:41:12
test/options.data.test.ts > options.data.test.ts > should concat query string and data correctly when GET: test/options.data.test.ts#L168
AssertionError: Expected values to be strictly equal: + actual - expected + '/?that=in_path&sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88' - '/?that=in_path&sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88' - Expected + Received - /?that=in_path&sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88 + /?that=in_path&sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88 ❯ test/options.data.test.ts:168:12
Node.js / Test (ubuntu-latest, 18)
Process completed with exit code 1.
test/options.data.test.ts > options.data.test.ts > should default GET with data and auto convert to query string: test/options.data.test.ts#L41
AssertionError: Expected values to be strictly equal: + actual - expected + '/?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b' - '/?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true&g=a&g=b' - Expected + Received - /?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true&g=a&g=b + /?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b ❯ test/options.data.test.ts:41:12
test/options.data.test.ts > options.data.test.ts > should concat query string and data correctly when GET: test/options.data.test.ts#L168
AssertionError: Expected values to be strictly equal: + actual - expected + '/?that=in_path&sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88' - '/?that=in_path&sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88' - Expected + Received - /?that=in_path&sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88 + /?that=in_path&sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88 ❯ test/options.data.test.ts:168:12
Node.js / Test (macos-latest, 20)
Process completed with exit code 1.
Node.js / Test (ubuntu-latest, 14.19.3)
Process completed with exit code 1.
test/options.data.test.ts > options.data.test.ts > should default GET with data and auto convert to query string: test/options.data.test.ts#L41
AssertionError: Expected values to be strictly equal: + actual - expected + '/?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b' - '/?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true&g=a&g=b' - Expected + Received - /?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true&g=a&g=b + /?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b ❯ test/options.data.test.ts:41:12
test/options.data.test.ts > options.data.test.ts > should concat query string and data correctly when GET: test/options.data.test.ts#L168
AssertionError: Expected values to be strictly equal: + actual - expected + '/?that=in_path&sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88' - '/?that=in_path&sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88' - Expected + Received - /?that=in_path&sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88 + /?that=in_path&sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88 ❯ test/options.data.test.ts:168:12
Node.js / Test (macos-latest, 16)
Process completed with exit code 1.
test/options.data.test.ts > options.data.test.ts > should default GET with data and auto convert to query string: test/options.data.test.ts#L41
AssertionError: Expected values to be strictly equal: + actual - expected + '/?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b' - '/?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true&g=a&g=b' - Expected + Received - /?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true&g=a&g=b + /?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b ❯ test/options.data.test.ts:41:12
test/options.data.test.ts > options.data.test.ts > should concat query string and data correctly when GET: test/options.data.test.ts#L168
AssertionError: Expected values to be strictly equal: + actual - expected + '/?that=in_path&sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88' - '/?that=in_path&sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88' - Expected + Received - /?that=in_path&sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88 + /?that=in_path&sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88 ❯ test/options.data.test.ts:168:12
Node.js / Test (macos-latest, 18)
Process completed with exit code 1.
Node.js / Test (windows-latest, 14.19.3)
Process completed with exit code 1.
test/options.data.test.ts > options.data.test.ts > should default GET with data and auto convert to query string: test/options.data.test.ts#L41
AssertionError: Expected values to be strictly equal: + actual - expected + '/?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b' - '/?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true&g=a&g=b' - Expected + Received - /?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true&g=a&g=b + /?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b ❯ test/options.data.test.ts:41:12
test/options.data.test.ts > options.data.test.ts > should concat query string and data correctly when GET: test/options.data.test.ts#L168
AssertionError: Expected values to be strictly equal: + actual - expected + '/?that=in_path&sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88' - '/?that=in_path&sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88' - Expected + Received - /?that=in_path&sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88 + /?that=in_path&sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88 ❯ test/options.data.test.ts:168:12
Node.js / Test (windows-latest, 20)
Process completed with exit code 1.
test/options.data.test.ts > options.data.test.ts > should default GET with data and auto convert to query string: test/options.data.test.ts#L41
AssertionError: Expected values to be strictly equal: + actual - expected + '/?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b' - '/?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true&g=a&g=b' - Expected + Received - /?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true&g=a&g=b + /?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b ❯ test/options.data.test.ts:41:12
test/options.data.test.ts > options.data.test.ts > should concat query string and data correctly when GET: test/options.data.test.ts#L168
AssertionError: Expected values to be strictly equal: + actual - expected + '/?that=in_path&sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88' - '/?that=in_path&sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88' - Expected + Received - /?that=in_path&sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88 + /?that=in_path&sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88 ❯ test/options.data.test.ts:168:12
Node.js / Test (windows-latest, 16)
Process completed with exit code 1.
test/options.data.test.ts > options.data.test.ts > should default GET with data and auto convert to query string: test/options.data.test.ts#L41
AssertionError: Expected values to be strictly equal: + actual - expected + '/?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b' - '/?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true&g=a&g=b' - Expected + Received - /?sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88&c=2222&d=1111&e=e%28%29+%7B%0A++++++++++return+%22%22%3B%0A++++++++%7D&f=true&g=a&g=b + /?sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88&b=&c=2222&d=1111&e=&f=true&g=a&g=b ❯ test/options.data.test.ts:41:12
test/options.data.test.ts > options.data.test.ts > should concat query string and data correctly when GET: test/options.data.test.ts#L168
AssertionError: Expected values to be strictly equal: + actual - expected + '/?that=in_path&sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88' - '/?that=in_path&sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88' - Expected + Received - /?that=in_path&sql=SELECT+*+from+table&data=%E5%93%88%E5%93%88 + /?that=in_path&sql=SELECT%20*%20from%20table&data=%E5%93%88%E5%93%88 ❯ test/options.data.test.ts:168:12
Node.js / Test (windows-latest, 18)
Process completed with exit code 1.
Node.js / Test (macos-latest, 14.19.3)
Canceling since a higher priority waiting request for 'CI-#489-(macos-latest, mysql@14.19.3)' exists
Node.js / Test (macos-latest, 14.19.3)
The operation was canceled.