diff --git a/index.test.js b/index.test.js index 29fefbd..d2e7ad8 100644 --- a/index.test.js +++ b/index.test.js @@ -34,7 +34,7 @@ const createTestRepo = (inputs) => { let i = 1; return { - clean: () => execute('/tmp', `rm -rf ${repoDirectory}`), + clean: () => execute(os.tmpdir(), `rm -rf ${repoDirectory}`), makeCommit: (msg, path) => { run(`touch ${path !== undefined ? path.trim('/') + '/' : ''}test${i++}`); run(`git add --all`);