Skip to content

Commit

Permalink
test(cli): revert small change from #7381 (#7793)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolg42 committed Jun 21, 2021
1 parent 808707b commit 057ee59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -5,7 +5,7 @@ generator min {

datasource db {
provider = "sqlite"
url = "./dev.db"
url = env("ENV_VAR_DOES_NOT_EXIST")
}

model Post {
Expand Down
2 changes: 1 addition & 1 deletion src/packages/cli/src/__tests__/generate.test.ts
Expand Up @@ -14,7 +14,7 @@ it('should work with a custom output dir', async () => {
const { main } = await import(ctx.fs.path('main.ts'))
expect(cleanSnapshot(data.stdout)).toMatchSnapshot()
await expect(main()).resolves.toMatchSnapshot()
}, 25000) // timeout
}, 30000) // timeout

it('should error with exit code 1 with incorrect schema', async () => {
ctx.fixture('broken-example-project')
Expand Down

0 comments on commit 057ee59

Please sign in to comment.