Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
yushih committed May 2, 2024
1 parent 1653907 commit 1bd827b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/yoroi-extension/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ class Runtime {
}

requireModuleOrMock(from, moduleName) {
console.log('>>>', from, moduleName, (new Error).stack);
require('console').debug('>>>', from, moduleName, (new Error).stack);
// this module is unmockable
if (moduleName === '@jest/globals') {
// @ts-expect-error: we don't care that it's not assignable to T
Expand Down
2 changes: 1 addition & 1 deletion packages/yoroi-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"flow": "flow --show-all-errors .",
"flow-typed": "flow codemod annotate-exports --write --repeat ./app",
"flow:install": "flow-typed create-stub insert-pkg-here --typescript",
"test": "cp index.js node_modules/jest-runtime/build && NODE_ENV=jest jest -- --silent=false app/api/ada/index.test.js",
"test": "cp index.js node_modules/jest-runtime/build && NODE_ENV=jest jest --silent=false -- app/api/ada/index.test.js",
"test-win": "SET NODE_ENV=jest && jest",
"eslint": "npm run eslint-loud -- --quiet",
"eslint-loud": "eslint app chrome scripts scripts-mv2 webpack/*.js webpack-mv2/*.js",
Expand Down

0 comments on commit 1bd827b

Please sign in to comment.