fix: use querystring to stringify data #1151
Annotations
3 errors
Run Test:
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
|
Run Test:
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
|
Run Test
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading