@reskript/config-jest
TypeScript icon, indicating that this package has built-in type declarations

6.2.1 • Public • Published

@reskript/config-jest

提供jest相关的基础配置。

扩展配置

如果你希望自定义jest配置,可在项目目录下放置jest.config.js,并在里面包含以下内容:

module.exports = {
    // 或者对应非react的测试,修改为`jest-node.js`
    preset: require.resolve('@reskript/config-jest/config/jest-react.js'),
};

Readme

Keywords

none

Package Sidebar

Install

npm i @reskript/config-jest

Weekly Downloads

33

Version

6.2.1

License

MIT

Unpacked Size

18.1 kB

Total Files

22

Last publish

Collaborators

  • ecomfe-core
  • otakustay