MM-52213 webapp/platform/components : Add unit test framework (#23366)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
c894cd3f30
Коммит
5808b848c3
@@ -11,6 +11,13 @@ const config = {
|
||||
safari: 12,
|
||||
},
|
||||
modules: false,
|
||||
corejs: {
|
||||
version: "3.26",
|
||||
proposals: true,
|
||||
},
|
||||
debug: false,
|
||||
shippedProposals: true,
|
||||
useBuiltIns: 'usage',
|
||||
}],
|
||||
['@babel/preset-react', {
|
||||
useBuiltIns: true,
|
||||
@@ -39,4 +46,12 @@ const config = {
|
||||
],
|
||||
};
|
||||
|
||||
config.env = {
|
||||
test: {
|
||||
presets: config.presets,
|
||||
plugins: config.plugins,
|
||||
},
|
||||
};
|
||||
config.env.test.presets[0][1].modules = 'auto';
|
||||
|
||||
module.exports = config;
|
||||
|
||||
Ссылка в новой задаче
Block a user