Clean up output formatting and support colorizing FQL results #503
Annotations
13 errors and 1 warning
/home/runner/work/fauna-shell/fauna-shell/test/credentials.mjs.credentials credentials middleware class setup builds credentials from: 'query "Database.all()" -d us-std/test:badpath --no-color':
test/credentials.mjs#L1
The query failed unexpectedly with the following error:
Unable to format FQL unless it is already a string.
|
/home/runner/work/fauna-shell/fauna-shell/test/login.mjs.login can login:
test/login.mjs#L116
expected stdout to have been called with arguments 'To login, open your browser to:\n http://dashboard-url.com'
'"To login, open your browser to:\\nhttp://dashboard-url.com"' '"To login, open your browser to:\\n http://dashboard-url.com"'
|
/home/runner/work/fauna-shell/fauna-shell/test/login.mjs.login overwrites credentials on login:
test/login.mjs#L153
expected stdout to have been called with arguments 'Login Success!\n'
'"To login, open your browser to:\\nhttp://dashboard-url.com"' '"Login Success!\\n"'
|
/home/runner/work/fauna-shell/fauna-shell/test/shell.mjs.shell common history can be navigated through:
test/shell.mjs#L133
expected '\u001b[1G\u001b[0J> 2\u001b[4G\n\u001…' to equal '\u001b[1G\u001b[0J> 2\u001b[4G'
|
/home/runner/work/fauna-shell/fauna-shell/test/shell.mjs.shell common history can be cleared:
test/shell.mjs#L180
expected '.clearhistory\r\nHistory cleared\n\u0…' to equal '.clearhistory\r\nHistory cleared\n\u0…'
|
/home/runner/work/fauna-shell/fauna-shell/test/credentials.mjs.credentials credentials middleware class setup builds credentials from: 'query "Database.all()" -d us-std/test:badpath --no-color':
test/credentials.mjs#L1
The query failed unexpectedly with the following error:
Unable to format FQL unless it is already a string.
|
/home/runner/work/fauna-shell/fauna-shell/test/login.mjs.login can login:
test/login.mjs#L116
expected stdout to have been called with arguments 'To login, open your browser to:\n http://dashboard-url.com'
'"To login, open your browser to:\\nhttp://dashboard-url.com"' '"To login, open your browser to:\\n http://dashboard-url.com"'
|
/home/runner/work/fauna-shell/fauna-shell/test/login.mjs.login overwrites credentials on login:
test/login.mjs#L153
expected stdout to have been called with arguments 'Login Success!\n'
'"To login, open your browser to:\\nhttp://dashboard-url.com"' '"Login Success!\\n"'
|
/home/runner/work/fauna-shell/fauna-shell/test/shell.mjs.shell common history can be navigated through:
test/shell.mjs#L133
expected '\u001b[1G\u001b[0J> 2\u001b[4G\n\u001…' to equal '\u001b[1G\u001b[0J> 2\u001b[4G'
|
/home/runner/work/fauna-shell/fauna-shell/test/shell.mjs.shell common history can be cleared:
test/shell.mjs#L180
expected '.clearhistory\r\nHistory cleared\n\u0…' to equal '.clearhistory\r\nHistory cleared\n\u0…'
|
test (20.x)
Process completed with exit code 5.
|
test (22.x)
The job was canceled because "_20_x" failed.
|
test (22.x)
Process completed with exit code 5.
|
test (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|