Skip to content

Commit

Permalink
fix: another test
Browse files Browse the repository at this point in the history
  • Loading branch information
Skn0tt committed Apr 8, 2022
1 parent 126d4bb commit 95e3ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/lib/functions/server.test.js
Expand Up @@ -18,7 +18,7 @@ test.before(async () => {
mkdirSync(functionsDirectory)

const mainFile = join(functionsDirectory, 'hello.js')
writeFileSync(mainFile, `exports.handler = (event) => ({ statusCode: 200, body: event.rawUrl })`)
writeFileSync(mainFile, `exports.handler = async (event) => ({ statusCode: 200, body: event.rawUrl })`)

const functionsRegistry = new FunctionsRegistry({
projectRoot,
Expand Down

0 comments on commit 95e3ffe

Please sign in to comment.