fix: make the glob groups work on windows

This commit is contained in:
ElevateBart
2022-02-26 21:27:27 -06:00
parent 9de5be4e4e
commit 72ca01431d
3 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@
"check-ts": "tsc --noEmit && yarn -s tslint",
"clean-deps": "rimraf node_modules",
"tslint": "tslint --config ../ts/tslint.json --project .",
"clean": "rimraf './{src,test}/**/*(!.stories).js'",
"clean": "rimraf './{src,test}/**/*.js'",
"test": "yarn test-unit",
"test-unit": "mocha -r @packages/ts/register --config ./test/.mocharc.js"
},

View File

@@ -349,7 +349,7 @@ describe('code-generator', () => {
sinon.stub(ctx.project.frameworkLoader, 'load').resolves(FRONTEND_FRAMEWORKS[1])
const newSpecCodeGenOptions = new SpecOptions(ctx, {
codeGenPath: path.join(__dirname, 'files', 'vue', 'Button.stories.js'),
codeGenPath: path.join(__dirname, 'files', 'vue', 'Button.stories.ts'),
codeGenType: 'story',
specFileExtension: '.cy',
})