diff --git a/package.json b/package.json index 296be7ae..275802cb 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,9 @@ "build": "cross-env NODE_ENV=production webpack && tsc -b -v && cross-env BABEL_ENV=production babel target/renderer/bundle.js --out-file target/renderer/bundle.js --no-comments --minified", "lint": "eslint . --fix --ext .js,.jsx,.ts,.tsx,.json", "test": "yarn run lint && yarn run test:unit", - "test:unit": "cross-env DEBUG=ava:watcher ava --no-cache", + "test:unit": "cross-env DEBUG=ava:watcher AVA_IMPORT_FROM_PROJECT_NO_STUB=1 ava --no-cache", "test:unit:watch": "yarn run test:unit -- --watch", - "test:e2e": "cross-env DEBUG=ava:watcher ava --no-cache --config ava-e2e.config.js", + "test:e2e": "cross-env DEBUG=ava:watcher AVA_IMPORT_FROM_PROJECT_NO_STUB=1 ava --no-cache --config ava-e2e.config.js", "postinstall": "yarn run v8-snapshot && webpack --config-name hyper-app && yarn run install-app-deps-with-retry && yarn run rebuild-node-pty && cpy --cwd=target node_modules \"../../app/\" && husky && yarn run generate-schema", "install-app-deps-with-retry": "electron-builder install-app-deps || electron-builder install-app-deps || electron-builder install-app-deps", "rebuild-node-pty": "electron-rebuild -f -o node-pty -m target", @@ -48,7 +48,7 @@ "@xterm/addon-webgl": "0.18.0", "@xterm/xterm": "5.5.0", "args": "5.0.3", - "ava": "https://github.com/quine-global/ava#38aebe3badef8d54f68e8315e9849cfa83d531fe", + "ava": "https://github.com/quine-global/ava#79bc47b960f0fd28b376b9bd179c9af1cb701c45", "chalk": "5.3.0", "clsx": "2.1.1", "color": "4.2.3", diff --git a/yarn.lock b/yarn.lock index 77e5aabe..b7cf4952 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2255,9 +2255,9 @@ at-least-node@^1.0.0: resolved "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== -"ava@https://github.com/quine-global/ava#38aebe3badef8d54f68e8315e9849cfa83d531fe": +"ava@https://github.com/quine-global/ava#79bc47b960f0fd28b376b9bd179c9af1cb701c45": version "6.2.0" - resolved "https://github.com/quine-global/ava#38aebe3badef8d54f68e8315e9849cfa83d531fe" + resolved "https://github.com/quine-global/ava#79bc47b960f0fd28b376b9bd179c9af1cb701c45" dependencies: "@vercel/nft" "^0.27.5" acorn "^8.13.0"