2 Star 0 Fork 0

mirrors_hyperledger/iroha-javascript

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
vitest.config.ts 850 Bytes
一键复制 编辑 原始数据 按行查看 历史
0x009922 提交于 2023-11-02 15:00 . Iroha 2.0.0-pre-rc.20 update (#172)
import { defineConfig } from 'vitest/config'
import path from 'path'
import url from 'url'
const resolve = (...paths: string[]) => path.resolve(url.fileURLToPath(new URL('.', import.meta.url)), ...paths)
// Config for global monorepo unit-testing
export default defineConfig({
resolve: {
alias: {
'@iroha2/i64-fixnum': resolve('./packages/i64-fixnum/src/lib.ts'),
'@iroha2/data-model': resolve('./packages/data-model/src/lib.ts'),
'@iroha2/crypto-core': resolve('./packages/crypto/packages/core/src/lib.ts'),
'@iroha2/crypto-util': resolve('./packages/crypto/packages/util/src/lib.ts'),
},
},
test: {
include: ['**/*.spec.ts'],
exclude: ['**/test/integration', '**/node_modules', '**/dist', '**/dist-tsc'],
includeSource: ['packages/i64-fixnum/src/**/*.ts', 'packages/client/src/**/*.ts'],
},
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_hyperledger/iroha-javascript.git
git@gitee.com:mirrors_hyperledger/iroha-javascript.git
mirrors_hyperledger
iroha-javascript
iroha-javascript
main

搜索帮助