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:
Hannah Wolfe
2020-04-01 18:04:14 +01:00
parent e46baa1fe2
commit 4671c4b383
5 changed files with 4 additions and 3 deletions
+1
View File
@@ -0,0 +1 @@
This directory is ignored in .gitignore. It can be used to write temporary files during tests.