Tag: 铁结点

如何使用iron-node来debugging玩笑unit testing?

要运行我的UT,我运行命令: BABEL_JEST_STAGE=0 jest 我如何使用iron-node来debugging我的unit testing? 顺便说一句,我的package.json有一个标准的笑话configuration: "jest": { "scriptPreprocessor": "<rootDir>/node_modules/babel-jest", "testFileExtensions": [ "es6", "js" ], "moduleFileExtensions": [ "js", "json", "es6" ], "unmockedModulePathPatterns": [ "react" ] }