Make production tests always run against dist/ (attempt 2) (#2942)

* Make production tests always run against dist/

* Try to mock process.stdin instead of get-stream

* fix: mock `get-stream` from `index.js`

* refactor: remove unnecessary variable

* Try `transform: {}` in jest.config.js

* Add comment explaining the unusual get-stream mocking
This commit is contained in:
Simon Lydell authored and GitHub committed 2017-10-02 17:58:55 +02:00
1 parent 26254ece0f
commit 43cb08c45c
10 files changed
+47 -27

No files matched your search

+2 -1
View File
@@ -13,5 +13,6 @@ module.exports = {
"<rootDir>/src/doc-debug.js",
"<rootDir>/src/clean-ast.js",
"<rootDir>/src/deprecated.js"
]
],
transform: {}
};