Optionally, create a db when starting a local container #696
Annotations
18 errors and 2 warnings
/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':
test/database/create.mjs#L117
expected stub to have been called exactly once with arguments { secret: 'secret',
url: { test: [Function], message: 'typeOf("string")' },
query: {} }
{ secret: 'secret',
url: 'https://db.fauna.com',
query: {},
options: { format: 'decorated' } } url: { test: [Function], message: 'typeOf("string")' },
query: {} }
|
/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:
test/database/create.mjs#L117
expected stub to have been called exactly once with arguments { secret: 'secret',
url: { test: [Function], message: 'typeOf("string")' },
query: {} }
{ secret: 'secret',
url: 'https://db.fauna.com',
query: {},
options: { format: 'decorated' } } url: { test: [Function], message: 'typeOf("string")' },
query: {} }
|
/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:
test/database/create.mjs#L117
expected stub to have been called exactly once with arguments { secret: 'secret',
url: { test: [Function], message: 'typeOf("string")' },
query: {} }
{ secret: 'secret',
url: 'https://db.fauna.com',
query: {},
options: { format: 'decorated' } } url: { test: [Function], message: 'typeOf("string")' },
query: {} }
|
/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:
test/database/create.mjs#L117
expected stub to have been called exactly once with arguments { secret: 'secret',
url: { test: [Function], message: 'typeOf("string")' },
query: {} }
{ secret: 'secret',
url: 'https://db.fauna.com',
query: {},
options: { format: 'decorated' } } url: { test: [Function], message: 'typeOf("string")' },
query: {} }
|
/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':
test/database/create.mjs#L209
expected stub to have been called exactly once with arguments { secret: 'new-secret',
url: { test: [Function], message: 'typeOf("string")' },
query: {} }
{ secret: 'new-secret',
url: 'https://db.fauna.com',
query: {},
options: { format: 'decorated' } } url: { test: [Function], message: 'typeOf("string")' },
query: {} }
|
/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:
test/database/create.mjs#L209
expected stub to have been called exactly once with arguments { secret: 'new-secret',
url: { test: [Function], message: 'typeOf("string")' },
query: {} }
{ secret: 'new-secret',
url: 'https://db.fauna.com',
query: {},
options: { format: 'decorated' } } url: { test: [Function], message: 'typeOf("string")' },
query: {} }
|
/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:
test/database/create.mjs#L209
expected stub to have been called exactly once with arguments { secret: 'new-secret',
url: { test: [Function], message: 'typeOf("string")' },
query: {} }
{ secret: 'new-secret',
url: 'https://db.fauna.com',
query: {},
options: { format: 'decorated' } } url: { test: [Function], message: 'typeOf("string")' },
query: {} }
|
/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:
test/database/create.mjs#L209
expected stub to have been called exactly once with arguments { secret: 'new-secret',
url: { test: [Function], message: 'typeOf("string")' },
query: {} }
{ secret: 'new-secret',
url: 'https://db.fauna.com',
query: {},
options: { format: 'decorated' } } url: { test: [Function], message: 'typeOf("string")' },
query: {} }
|
/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':
test/database/create.mjs#L117
expected stub to have been called exactly once with arguments { secret: 'secret',
url: { test: [Function], message: 'typeOf("string")' },
query: {} }
{ secret: 'secret',
url: 'https://db.fauna.com',
query: {},
options: { format: 'decorated' } } url: { test: [Function], message: 'typeOf("string")' },
query: {} }
|
/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:
test/database/create.mjs#L117
expected stub to have been called exactly once with arguments { secret: 'secret',
url: { test: [Function], message: 'typeOf("string")' },
query: {} }
{ secret: 'secret',
url: 'https://db.fauna.com',
query: {},
options: { format: 'decorated' } } url: { test: [Function], message: 'typeOf("string")' },
query: {} }
|
/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:
test/database/create.mjs#L117
expected stub to have been called exactly once with arguments { secret: 'secret',
url: { test: [Function], message: 'typeOf("string")' },
query: {} }
{ secret: 'secret',
url: 'https://db.fauna.com',
query: {},
options: { format: 'decorated' } } url: { test: [Function], message: 'typeOf("string")' },
query: {} }
|
/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:
test/database/create.mjs#L117
expected stub to have been called exactly once with arguments { secret: 'secret',
url: { test: [Function], message: 'typeOf("string")' },
query: {} }
{ secret: 'secret',
url: 'https://db.fauna.com',
query: {},
options: { format: 'decorated' } } url: { test: [Function], message: 'typeOf("string")' },
query: {} }
|
/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':
test/database/create.mjs#L209
expected stub to have been called exactly once with arguments { secret: 'new-secret',
url: { test: [Function], message: 'typeOf("string")' },
query: {} }
{ secret: 'new-secret',
url: 'https://db.fauna.com',
query: {},
options: { format: 'decorated' } } url: { test: [Function], message: 'typeOf("string")' },
query: {} }
|
/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:
test/database/create.mjs#L209
expected stub to have been called exactly once with arguments { secret: 'new-secret',
url: { test: [Function], message: 'typeOf("string")' },
query: {} }
{ secret: 'new-secret',
url: 'https://db.fauna.com',
query: {},
options: { format: 'decorated' } } url: { test: [Function], message: 'typeOf("string")' },
query: {} }
|
/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:
test/database/create.mjs#L209
expected stub to have been called exactly once with arguments { secret: 'new-secret',
url: { test: [Function], message: 'typeOf("string")' },
query: {} }
{ secret: 'new-secret',
url: 'https://db.fauna.com',
query: {},
options: { format: 'decorated' } } url: { test: [Function], message: 'typeOf("string")' },
query: {} }
|
/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:
test/database/create.mjs#L209
expected stub to have been called exactly once with arguments { secret: 'new-secret',
url: { test: [Function], message: 'typeOf("string")' },
query: {} }
{ secret: 'new-secret',
url: 'https://db.fauna.com',
query: {},
options: { format: 'decorated' } } url: { test: [Function], message: 'typeOf("string")' },
query: {} }
|
test (20.x)
Process completed with exit code 8.
|
test (22.x)
Process completed with exit code 8.
|
test (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test (22.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|