@manifest-ui/vessel-config-jest
v0.1.0
Published
Jest configuration for beemo.
Downloads
7
Readme
Vessel - Jest config
A Project44 Beemo Jest config based on jest-preset-vessel
.
Installation
yarn install --dev jest @beemo/core @beemo/driver-jest @manifest-ui/vessel-config-jest
Usage
Create a configs/jest.ts
file in your Beemo configuration module that re-exports this config.
export { default } from '@manifest-ui/vessel-config-jest';
Settings
The following settings
can be defined to customize Jest even further.
projects
(boolean | string[]
) - Enable Jest projects. Iftrue
is passed, will be resolved using workspaces, otherwise requires an array of explicit strings. Defaults tofalse
.react
(boolean | classic | automatic
) - Set the testing environment tojsdom
to support React. Defaults tofalse
.
export default {
module: '<config-module>',
drivers: ['jest'],
settings: {
react: true,
},
};