From df086584a24e0377537abaa88c87c05aec28dbdc Mon Sep 17 00:00:00 2001 From: endiliey Date: Sun, 27 May 2018 01:29:05 +0800 Subject: [PATCH] modify test to include subdir doc --- lib/__tests__/build-files.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/__tests__/build-files.test.js b/lib/__tests__/build-files.test.js index fe92052e7b547..6953eddc8db4c 100644 --- a/lib/__tests__/build-files.test.js +++ b/lib/__tests__/build-files.test.js @@ -42,7 +42,7 @@ beforeAll(() => { generateSite(); return Promise.all([ glob(docsDir + '/**/*.md'), - glob(buildDir + '/' + siteConfig.projectName + '/docs/*.html'), + glob(buildDir + '/' + siteConfig.projectName + '/docs/**/*.html'), glob(docsDir + '/assets/*'), glob(buildDir + '/' + siteConfig.projectName + '/img/*'), ]).then(function(results) {