Skip to content

Commit

Permalink
fix(testing): regex for scenarios testing platform config (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed May 20, 2020
1 parent a8d3d6b commit d90a2b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dist.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe('Build distribution', () => {
.replace(/\s+|\n+|\r+/g, '')
.replace(new RegExp(`./${outputDir}`, 'gi'), `~./${outputDir}`)
.replace(new RegExp(`~./${outputDir}/.DS_Store`, 'gi'), '')
.replace(new RegExp(`~./${outputDir}/beta/config/main.yml`, 'gi'), '')
.replace(new RegExp(`~./${outputDir}/(beta/|)config/main.yml`, 'gi'), '')
.replace(/\.([a-z0-9]+)\./gi, '*')
.split('~')
.sort();
Expand Down

0 comments on commit d90a2b2

Please sign in to comment.