Skip to content

Commit 2b83efd

Browse files
committed
test: enable watch mode in tests that test modifying functions
1 parent d5b00d4 commit 2b83efd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/functions/dev/main.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ describe('Functions with the v2 API syntax', () => {
2828
settings: {},
2929
timeouts: {},
3030
userFunctionsPath: 'netlify/functions',
31+
watch: true,
3132
})
3233

3334
const req1 = new Request('https://site.netlify/.netlify/functions/foo')
@@ -172,6 +173,7 @@ describe('Functions with the v2 API syntax', () => {
172173
settings: {},
173174
timeouts: {},
174175
userFunctionsPath: 'netlify/functions',
176+
watch: true,
175177
})
176178

177179
const req1 = new Request('https://site.netlify/hello')

0 commit comments

Comments
 (0)