diff --git a/test/integration/_create-project-rev.js b/test/integration/_create-project-rev.js index 37fcb92..fcb18b1 100644 --- a/test/integration/_create-project-rev.js +++ b/test/integration/_create-project-rev.js @@ -5,12 +5,7 @@ const sourceDir = path.join(__dirname, "fixtures", "eleventy-project-rev"); module.exports = function(projectName) { let projectDir = path.join(__dirname, "fixtures", projectName); fs.rmSync(projectDir, { recursive: true, force: true }); - fs.mkdirSync(projectDir); - - let names = fs.readdirSync(sourceDir); - names.forEach(name => { - fs.symlinkSync(path.join(sourceDir, name), path.join(projectDir, name)); - }); + fs.cpSync(sourceDir, projectDir, { recursive: true }); return projectDir; };