mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-30 02:19:52 +02:00
Jest testing for slate-react (#4459)
* initial skeleton for jest testing * run in serial mocha, then jest on slate-react only * run-s without glob patterns https://github.com/yarnpkg/berry/issues/22 * don't run mocha on slate-react package * use yarn run instead of run-s
This commit is contained in:
9
babel.config.js
Normal file
9
babel.config.js
Normal file
@@ -0,0 +1,9 @@
|
||||
// Needed for jest.
|
||||
module.exports = {
|
||||
inputSourceMap: true,
|
||||
presets: [
|
||||
'@babel/preset-typescript',
|
||||
['@babel/preset-env', { targets: { node: 'current' } }],
|
||||
'@babel/preset-react',
|
||||
],
|
||||
}
|
Reference in New Issue
Block a user