Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps-dev): Bump ava from 5.3.1 to 6.1.3 #228

Merged
merged 3 commits into from
Jul 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5,836 changes: 3,179 additions & 2,657 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@
"test:integration": "npm run test:integration --workspaces --if-present"
},
"workspaces": [
"packages/*"
"packages/middleware-code-coverage"
]
}
8 changes: 5 additions & 3 deletions packages/middleware-code-coverage/ava-integration.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
export default {
files: ["test/integration/boot.js"],
ignoredByWatcher: [
"tmp/**"
]
watchMode: {
ignoreChanges: [
"tmp/**"
]
}
};
8 changes: 5 additions & 3 deletions packages/middleware-code-coverage/ava.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
export default {
files: ["test/unit/**/*.js"],
ignoredByWatcher: [
"tmp/**"
],
watchMode: {
ignoreChanges: [
"tmp/**"
]
},
nodeArguments: [
"--loader=esmock",
"--no-warnings"
Expand Down
2 changes: 1 addition & 1 deletion packages/middleware-code-coverage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
},
"devDependencies": {
"@istanbuljs/esm-loader-hook": "^0.2.0",
"ava": "^5.3.1",
"ava": "^6.1.3",
"depcheck": "^1.4.7",
"eslint": "^8.57.0",
"eslint-config-google": "^0.14.0",
Expand Down
9 changes: 5 additions & 4 deletions packages/middleware-code-coverage/test/integration/boot.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import test from "ava";
import {default as test, registerCompletionHandler} from "ava";
import path from "node:path";
import {fileURLToPath} from "node:url";
import getPort from "get-port";
Expand Down Expand Up @@ -72,11 +72,12 @@ function exec(command, args=[]) {
}

function startUI5Server(configPath, port) {
// Starting the app this way allows AVA to directly manage and kill subprocesses like "ui5 serve".
// Using App's 'npm start' script would start a (detached) subprocess and that
// would require more efforts to find and kill it.
const child = exec("ui5", ["serve", "--config", configPath, "--port", port]);

registerCompletionHandler(() => {
process.exit();
});

return new Promise( (resolve, reject) => {
const onError = (errMessage = "Start of UI5 Server failed.") => {
reject(new Error(errMessage));
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock.json

This file was deleted.