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) {