Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ReeceM committed Mar 1, 2021
1 parent dfed0d5 commit 4adea15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x, 15.x]
node-version: [10.x, 12.x, 14.x, 15.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/withPage/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ beforeAll(async () => {
appPort = server.address().port;
});

afterAll(() => server?.close());
afterAll(() => server ? server.close() : null);

describe('Using Sitemap Generator', () => {
describe('visiting page', () => {
Expand Down

0 comments on commit 4adea15

Please sign in to comment.