Skip to content

Typechecked should be a boolean #747

Typechecked should be a boolean

Typechecked should be a boolean #747

GitHub Actions / JUnit Test Report failed Dec 16, 2024 in 0s

253 tests run, 236 passed, 0 skipped, 17 failed.

Annotations

Check failure on line 42 in test/database/create.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs.database create validates invalid arguments: database create --secret 'secret'

expected stderr to have been called with arguments { test: [Function],
  message: 'match("Missing required argument: name")' }
Raw output
AssertionError: expected stderr to have been called with arguments { test: [Function],
  message: 'match("Missing required argument: name")' }
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs:42:42)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 42 in test/database/create.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs.database create validates invalid arguments: database create --database 'us-std/example'

expected stderr to have been called with arguments { test: [Function],
  message: 'match("Missing required argument: name")' }
Raw output
AssertionError: expected stderr to have been called with arguments { test: [Function],
  message: 'match("Missing required argument: name")' }
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs:42:42)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 42 in test/database/create.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs.database create validates invalid arguments: database create --name 'testdb'

expected stderr to have been called with arguments { test: [Function],
  message: 'match("No database or secret specified. Please use either --database, --secret, or --local to connect to your desired Fauna database.")' }
Raw output
AssertionError: expected stderr to have been called with arguments { test: [Function],
  message: 'match("No database or secret specified. Please use either --database, --secret, or --local to connect to your desired Fauna database.")' }
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs:42:42)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 66 in test/database/create.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs.database create handles invalid option types: --typechecked imastring

expected stderr to have been called at least once, but it was never called
Raw output
AssertionError: expected stderr to have been called at least once, but it was never called
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs:66:41)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 66 in test/database/create.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs.database create handles invalid option types: --protected imastring

expected stderr to have been called at least once, but it was never called
Raw output
AssertionError: expected stderr to have been called at least once, but it was never called
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs:66:41)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 111 in test/database/create.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs.database create handles constraint_failure errors when calling fauna

expected stderr to have been called with arguments { test: [Function],
  message: 'match("The database \'testdb\' already exists or one of the provided options is invalid.")' }
Raw output
AssertionError: expected stderr to have been called with arguments { test: [Function],
  message: 'match("The database \'testdb\' already exists or one of the provided options is invalid.")' }
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs:111:42)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 111 in test/database/create.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs.database create handles constraint_failure errors when calling fauna

expected stderr to have been called with arguments { test: [Function],
  message: 'match("The database name \'testdb\' is invalid. Database names must begin with letters and include only letters, numbers, and underscores.")' }
Raw output
AssertionError: expected stderr to have been called with arguments { test: [Function],
  message: 'match("The database name \'testdb\' is invalid. Database names must begin with letters and include only letters, numbers, and underscores.")' }
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs:111:42)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 111 in test/database/create.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs.database create handles unauthorized errors when calling fauna

expected stderr to have been called with arguments { test: [Function],
  message: 'match("Authentication failed. Log in using \'fauna login\' or provide a valid database secret with --secret.")' }
Raw output
AssertionError: expected stderr to have been called with arguments { test: [Function],
  message: 'match("Authentication failed. Log in using \'fauna login\' or provide a valid database secret with --secret.")' }
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs:111:42)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 137 in test/database/create.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs.database create if --secret is provided calls fauna with the correct args: --name 'testdb' --secret 'secret'

run is not a function
Raw output
TypeError: run is not a function
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs:137:15)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 137 in test/database/create.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs.database create if --secret is provided calls fauna with the correct args: --name 'testdb' --secret 'secret' --typechecked

run is not a function
Raw output
TypeError: run is not a function
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs:137:15)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 137 in test/database/create.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs.database create if --secret is provided calls fauna with the correct args: --name 'testdb' --secret 'secret' --protected

run is not a function
Raw output
TypeError: run is not a function
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs:137:15)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 137 in test/database/create.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs.database create if --secret is provided calls fauna with the correct args: --name 'testdb' --secret 'secret' --priority 10

run is not a function
Raw output
TypeError: run is not a function
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs:137:15)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 179 in test/database/create.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs.database create if --secret is provided does not try to refresh the secret if it is invalid

expected stderr to have been called with arguments { test: [Function],
  message: 'match("Authentication failed. Log in using \'fauna login\' or provide a valid database secret with --secret.")' }
Raw output
AssertionError: expected stderr to have been called with arguments { test: [Function],
  message: 'match("Authentication failed. Log in using \'fauna login\' or provide a valid database secret with --secret.")' }
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs:179:42)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 218 in test/database/create.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs.database create if --database is provided calls fauna with the correct args: --name 'testdb' --database 'us/example'

run is not a function
Raw output
TypeError: run is not a function
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs:218:15)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 218 in test/database/create.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs.database create if --database is provided calls fauna with the correct args: --name 'testdb' --database 'us/example' --typechecked

run is not a function
Raw output
TypeError: run is not a function
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs:218:15)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 218 in test/database/create.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs.database create if --database is provided calls fauna with the correct args: --name 'testdb' --database 'us/example' --protected

run is not a function
Raw output
TypeError: run is not a function
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs:218:15)
    at process.processImmediate (node:internal/timers:491:21)

Check failure on line 218 in test/database/create.mjs

See this annotation in the file changed.

@github-actions github-actions / JUnit Test Report

/home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs.database create if --database is provided calls fauna with the correct args: --name 'testdb' --database 'us/example' --priority 10

run is not a function
Raw output
TypeError: run is not a function
    at Context.<anonymous> (file:///home/runner/work/fauna-shell/fauna-shell/test/database/create.mjs:218:15)
    at process.processImmediate (node:internal/timers:491:21)