Use tmp directory for files written during tests
- Add spec/tmp directory with .gitkeep file to indicate the folder is intentional - Add the folder contents to .gitignore - Use this folder to output the sourcemap file during bin tests. This file is a sideeffect of the main test
This commit is contained in:
+1
-1
@@ -155,7 +155,7 @@ const testCases = [
|
||||
'-N',
|
||||
'test',
|
||||
'--map',
|
||||
'./spec/artifacts/source.map.amd.txt'
|
||||
'./spec/tmp/source.map.amd.txt'
|
||||
],
|
||||
outputLocation: 'stdout',
|
||||
expectedOutputSpec: './spec/expected/source.map.amd.js'
|
||||
|
||||
Reference in New Issue
Block a user