Uh oh!
There was an error while loading. Please reload this page.
test: configure proper devDir for invoking configure() - #1796
Conversation
richardlau
commented
Jun 24, 2019
Just to double check -- we still download the headers at least once elsewhere in the tests? |
rvagg
commented
Jun 25, 2019
@richardlau maybe not, maybe I'll add one to test-download.js which mocks it all out I think. |
richardlau
commented
Jun 25, 2019
Another way to check would be to see if coverage drops after this PR (now we're using |
9b3f6d0 to
ee46c5cCompareee46c5c to
c3dfcecComparervagg
commented
Oct 30, 2019
I've rebased this and added a whole new test that downloads headers and verifies contents. @nodejs/node-gyp ptal. |
c3dfcec to
43fa2dfCompareUh oh!
There was an error while loading. Please reload this page.
test/test-configure-python.js downloads a fresh set of headers to the package directory each time. By setting to the default global cache dir we get to re-use cached headers and skip the download step. PR-URL: #1796 Reviewed-By: Richard Lau <riclau@uk.ibm.com>
PR-URL: #1796 Reviewed-By: Richard Lau <riclau@uk.ibm.com>
43fa2df to
0670e51Comparervagg
commented
Nov 18, 2019
landed |
test/test-configure-python.js downloads a fresh set of headers to the package directory each time. By setting to the default global cache dir we get to re-use cached headers and skip the download step. PR-URL: #1796 Reviewed-By: Richard Lau <riclau@uk.ibm.com>
PR-URL: #1796 Reviewed-By: Richard Lau <riclau@uk.ibm.com>
test/test-configure-python.js downloads a fresh set of headers to the package directory each time. By setting to the default global cache dir we get to re-use cached headers and skip the download step. Speeds up tests and prevents the creation of a new directory with headers in it in the package root each test run.