Skip to content

Commit

Permalink
ci: force-exit the ft-ui and kitchen sink examples tests
Browse files Browse the repository at this point in the history
the navigation middleware causes an open handle and --forceExit is easier than working out how to stop it properly
  • Loading branch information
apaleslimghost committed Jan 20, 2025
1 parent 4dbf43b commit a549dc3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/ft-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "node server/start.js",
"pretest": "npm run build",
"test": "../../node_modules/.bin/jest",
"test:ci": "../../node_modules/.bin/jest --runInBand"
"test:ci": "../../node_modules/.bin/jest --runInBand --forceExit"
},
"dependencies": {
"@financial-times/dotcom-middleware-navigation": "file:../../packages/dotcom-middleware-navigation",
Expand Down
2 changes: 1 addition & 1 deletion examples/kitchen-sink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "node start.js",
"pretest": "npm run build",
"test": "../../node_modules/.bin/jest",
"test:ci": "../../node_modules/.bin/jest --runInBand"
"test:ci": "../../node_modules/.bin/jest --runInBand --forceExit"
},
"dependencies": {
"@financial-times/ads-display": "^6.5.0",
Expand Down

0 comments on commit a549dc3

Please sign in to comment.