Skip to content

[FE-6125] Stub out create database #51

[FE-6125] Stub out create database

[FE-6125] Stub out create database #51

GitHub Actions / JUnit Test Report failed Nov 22, 2024 in 0s

52 tests run, 47 passed, 0 skipped, 5 failed.

Annotations

Check failure on line 48 in test/authNZ.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/authNZ.mjs.authNZMiddleware should prompt login if InvalidCredsError is thrown

Unknown arguments: db, list
Raw output
Error: Unknown arguments: db, list
    at Object.fail (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/usage.js:36:31)
    at Object.unknownArguments (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/validation.js:109:19)
    at file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1486:78
    at file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1191:13
    at maybeAsyncResult (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/utils/maybe-async-result.js:9:15)
    at [validateAsync] (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1190:16)
    at [runYargsParserAndExecuteCommands] (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1457:55)
    at YargsInstance.parse (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:707:63)
    at YargsInstance.parseAsync (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:737:35)
    at parseYargs (file:///home/runner/work/fauna-shell/fauna-shell/src/cli.mjs:56:21)
    at Function.invoke (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/sinon/pkg/sinon-esm.js:2551:47)
    at parseYargs (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/sinon/pkg/sinon-esm.js:2861:26)
    at run (file:///home/runner/work/fauna-shell/fauna-shell/src/cli.mjs:37:11)
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/authNZ.mjs:48:11)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 71 in test/authNZ.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/authNZ.mjs.authNZMiddleware should refresh session if account key is invalid

Unknown arguments: db, list
Raw output
Error: Unknown arguments: db, list
    at Object.fail (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/usage.js:36:31)
    at Object.unknownArguments (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/validation.js:109:19)
    at file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1486:78
    at file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1191:13
    at maybeAsyncResult (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/utils/maybe-async-result.js:9:15)
    at [validateAsync] (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1190:16)
    at [runYargsParserAndExecuteCommands] (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1457:55)
    at YargsInstance.parse (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:707:63)
    at YargsInstance.parseAsync (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:737:35)
    at parseYargs (file:///home/runner/work/fauna-shell/fauna-shell/src/cli.mjs:56:21)
    at Function.invoke (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/sinon/pkg/sinon-esm.js:2551:47)
    at parseYargs (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/sinon/pkg/sinon-esm.js:2861:26)
    at run (file:///home/runner/work/fauna-shell/fauna-shell/src/cli.mjs:37:11)
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/authNZ.mjs:71:11)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 119 in test/authNZ.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/authNZ.mjs.authNZMiddleware Short term DB Keys returns existing db key if it's valid

Unknown arguments: db, list
Raw output
Error: Unknown arguments: db, list
    at Object.fail (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/usage.js:36:31)
    at Object.unknownArguments (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/validation.js:109:19)
    at file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1486:78
    at file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1191:13
    at maybeAsyncResult (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/utils/maybe-async-result.js:9:15)
    at [validateAsync] (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1190:16)
    at [runYargsParserAndExecuteCommands] (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1457:55)
    at YargsInstance.parse (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:707:63)
    at YargsInstance.parseAsync (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:737:35)
    at parseYargs (file:///home/runner/work/fauna-shell/fauna-shell/src/cli.mjs:56:21)
    at Function.invoke (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/sinon/pkg/sinon-esm.js:2551:47)
    at parseYargs (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/sinon/pkg/sinon-esm.js:2861:26)
    at run (file:///home/runner/work/fauna-shell/fauna-shell/src/cli.mjs:37:11)
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/authNZ.mjs:119:13)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 132 in test/authNZ.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/authNZ.mjs.authNZMiddleware Short term DB Keys creates a new db key if one doesn't exist

Unknown arguments: db, list
Raw output
Error: Unknown arguments: db, list
    at Object.fail (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/usage.js:36:31)
    at Object.unknownArguments (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/validation.js:109:19)
    at file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1486:78
    at file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1191:13
    at maybeAsyncResult (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/utils/maybe-async-result.js:9:15)
    at [validateAsync] (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1190:16)
    at [runYargsParserAndExecuteCommands] (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1457:55)
    at YargsInstance.parse (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:707:63)
    at YargsInstance.parseAsync (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:737:35)
    at parseYargs (file:///home/runner/work/fauna-shell/fauna-shell/src/cli.mjs:56:21)
    at Function.invoke (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/sinon/pkg/sinon-esm.js:2551:47)
    at parseYargs (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/sinon/pkg/sinon-esm.js:2861:26)
    at run (file:///home/runner/work/fauna-shell/fauna-shell/src/cli.mjs:37:11)
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/authNZ.mjs:132:13)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 153 in test/authNZ.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/authNZ.mjs.authNZMiddleware Short term DB Keys should clean up secrets file during setAccountKey

Unknown arguments: db, list
Raw output
Error: Unknown arguments: db, list
    at Object.fail (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/usage.js:36:31)
    at Object.unknownArguments (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/validation.js:109:19)
    at file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1486:78
    at file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1191:13
    at maybeAsyncResult (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/utils/maybe-async-result.js:9:15)
    at [validateAsync] (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1190:16)
    at [runYargsParserAndExecuteCommands] (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:1457:55)
    at YargsInstance.parse (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:707:63)
    at YargsInstance.parseAsync (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/yargs/build/lib/yargs-factory.js:737:35)
    at parseYargs (file:///home/runner/work/fauna-shell/fauna-shell/src/cli.mjs:56:21)
    at Function.invoke (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/sinon/pkg/sinon-esm.js:2551:47)
    at parseYargs (file:///home/runner/work/fauna-shell/fauna-shell/node_modules/sinon/pkg/sinon-esm.js:2861:26)
    at run (file:///home/runner/work/fauna-shell/fauna-shell/src/cli.mjs:37:11)
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/authNZ.mjs:153:13)
    at process.processImmediate (node:internal/timers:491:21)