File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -223,6 +223,26 @@ $ npm install
223223[ npm ] : https://www.npmjs.com/
224224[ nvm ] : https://github.com/creationix/nvm
225225
226+ ### Smoke tests
227+
228+ Any test file ending in ` .test.js ` is a smoke test
229+ and runs separately from tests ending in ` .spec.js ` .
230+ A smoke test verifies the server passes certain external checks.
231+ During the GitHub Actions check, the Docker container is built and started,
232+ then the smoke tests make requests to the server in a separate process.
233+
234+ To run the smoke tests locally, first start the test server with
235+
236+ ```
237+ $ npm start:test
238+ ```
239+
240+ and then in a separate terminal, run the smoke tests with
241+
242+ ```
243+ $ npm test:smoke
244+ ```
245+
226246### Publishing
227247
228248Use the [ ` npm version ` ] [ npm-version ] command to release a new version.
You can’t perform that action at this time.
0 commit comments