diff --git a/src/write.test.js b/src/write.test.js index e61546e..eb0401d 100644 --- a/src/write.test.js +++ b/src/write.test.js @@ -23,7 +23,7 @@ describe('Writing .remarkrc file', ()=> { main(process); - expect(join).toHaveBeenCalledWith(path, '.remarkrc'); + expect(join).toHaveBeenCalledWith(path, '../../..', '.remarkrc'); expect(writeFileSync).toHaveBeenCalledWith( 'test-path', JSON.stringify(remarkConfig, null, JSON_SPACING)