From 8dbd780e144f876bfffb444bcbafcb9dc1726027 Mon Sep 17 00:00:00 2001 From: Matt Travi Date: Sat, 22 Aug 2020 15:02:14 -0500 Subject: [PATCH] test(integration): simplified the stubbing of the filesystem for node_modules now that https://github.com/tschaub/mock-fs/pull/304 is available --- test/integration/features/step_definitions/common-steps.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/features/step_definitions/common-steps.js b/test/integration/features/step_definitions/common-steps.js index fbe035ab..25db29f3 100644 --- a/test/integration/features/step_definitions/common-steps.js +++ b/test/integration/features/step_definitions/common-steps.js @@ -13,6 +13,7 @@ Before(async () => { const projectTemplatePath = '../../../../templates'; stubbedFs({ + node_modules: stubbedFs.load(resolve(__dirname, '..', '..', '..', '..', 'node_modules')), templates: { 'README.mustache': await promises.readFile(resolve(__dirname, projectTemplatePath, './README.mustache')), 'editorconfig.txt': await promises.readFile(resolve(__dirname, projectTemplatePath, './editorconfig.txt'))