1 Star 1 Fork 0

cqb325 / solid-vue-router

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
fix-jest-dom.mjs 454 Bytes
一键复制 编辑 原始数据 按行查看 历史
cqb325 提交于 2023-04-24 23:12 . add solid router
import fs from 'fs';
import path from 'path';
const typesPath = path.resolve('node_modules', '@types', 'testing-library__jest-dom', 'index.d.ts');
const refMatcher = /[\r\n]+\/\/\/ <reference types="jest" \/>/;
fs.readFile(typesPath, 'utf8', (err, data) => {
if (err) throw err;
fs.writeFile(
typesPath,
data.replace(refMatcher, ''),
'utf8',
function(err) {
if (err) throw err;
}
);
});
NodeJS
1
https://gitee.com/cqb325/solid-vue-router.git
git@gitee.com:cqb325/solid-vue-router.git
cqb325
solid-vue-router
solid-vue-router
master

搜索帮助