Skip to content

Commit

Permalink
Merge pull request #90 from the-markup/update-packages
Browse files Browse the repository at this point in the history
Update packages
  • Loading branch information
dphiffer authored Jun 11, 2024
2 parents 60ed66b + 13a918a commit 58d0a5c
Show file tree
Hide file tree
Showing 4 changed files with 186 additions and 544 deletions.
4 changes: 2 additions & 2 deletions config/test-server-setup.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { setup } = require("jest-dev-server");
const { setup: setupDevServer } = require("jest-dev-server");

module.exports = async function globalSetup() {
await setup({
globalThis.servers = await setupDevServer({
debug: true,
command: `npm run test-server`,
port: 8125,
Expand Down
2 changes: 1 addition & 1 deletion config/test-server-teardown.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { teardown: teardownDevServer } = require("jest-dev-server");

module.exports = async function globalTeardown() {
await teardownDevServer();
await teardownDevServer(globalThis.servers);
};
Loading

0 comments on commit 58d0a5c

Please sign in to comment.