5 Star 8 Fork 5

anolis/keentune_ui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
jest.config.ts 622 Bytes
一键复制 编辑 原始数据 按行查看 历史
runzhe.wrz 提交于 2023-12-11 11:35 . sync code to 2.1.0-3
/**
* Copyright (c) 2021-2023 Alibaba Cloud Computing Ltd.
* SPDX-License-Identifier: MulanPSL-2.0
*/
import { configUmiAlias, createConfig } from '@umijs/max/test';
export default async () => {
const config = await configUmiAlias({
...createConfig({
target: 'browser',
}),
});
console.log();
return {
...config,
testEnvironmentOptions: {
...(config?.testEnvironmentOptions || {}),
url: 'http://localhost:8000',
},
setupFiles: [...(config.setupFiles || []), './tests/setupTests.jsx'],
globals: {
...config.globals,
localStorage: null,
},
};
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/anolis/keentune_ui.git
git@gitee.com:anolis/keentune_ui.git
anolis
keentune_ui
keentune_ui
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891