Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Jan 13, 2021
1 parent abdad8a commit dffed33
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 1 addition & 2 deletions src/packages/sdk/src/__tests__/getGenerators/generator
Expand Up @@ -7,7 +7,7 @@ const { generatorHandler } = require('@prisma/generator-helper')
generatorHandler({
async onGenerate() {
console.log('Logging in onGenerate should be fine')
await new Promise(r => {
await new Promise((r) => {
setTimeout(r, 100)
})
},
Expand All @@ -18,7 +18,6 @@ generatorHandler({
denylist: ['SomeForbiddenType'],
prettyName: 'This is a pretty pretty name',
requiresEngines: ['queryEngine', 'migrationEngine'],
requiresGenerators: ['prisma-client-js'],
}
},
})
Expand Up @@ -34,9 +34,6 @@ describe('getGenerators', () => {
"queryEngine",
"migrationEngine",
],
"requiresGenerators": Array [
"prisma-client-js",
],
},
]
`)
Expand Down

0 comments on commit dffed33

Please sign in to comment.