add fixtures

This commit is contained in:
yimysty
2022-06-17 15:56:00 -07:00
parent 9a28a8d8ad
commit 7c74d60067
12 changed files with 82 additions and 14 deletions

14
src/config-parser.test.js Normal file
View File

@@ -0,0 +1,14 @@
const ConfigParser = require('./config-parser')
describe('configParser', () => {
it('set nextjs url correctly', async () => {
// parser = new ConfigParser({
// filePath:"./nuxt.config.js",
// type: "nuxt",
// pathName: "router",
// subPathName: "base",
// newPath: baseUrl
// })
// parser.generateConfigFile()
})
})