Skip to content

Commit 8b304f9

Browse files
committed
Update readme
1 parent 1e94d0b commit 8b304f9

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,20 @@ $ yarn dev
4343
# Generate static project
4444
$ yarn generate
4545
```
46+
47+
## Running Tests
48+
You need to first start the app and the functions before running the tests.
49+
50+
``` bash
51+
# Build lambda functions locally
52+
$ yarn netlify-lambda build netlify-lambda-src
53+
54+
# Serve lambda functions locally
55+
$ yarn netlify-lambda serve netlify-lambda-src
56+
57+
# Serve nuxt app with hot reload at localhost:3000
58+
$ yarn dev
59+
60+
# Run tests
61+
$ yarn test
62+
```

0 commit comments

Comments
 (0)