diff --git a/lib/copy-sync/__tests__/copy-sync-prevent-copying-into-itself.test.js b/lib/copy-sync/__tests__/copy-sync-prevent-copying-into-itself.test.js index 1edffc7b..60cb8c85 100644 --- a/lib/copy-sync/__tests__/copy-sync-prevent-copying-into-itself.test.js +++ b/lib/copy-sync/__tests__/copy-sync-prevent-copying-into-itself.test.js @@ -63,7 +63,7 @@ describe('+ copySync() - prevent copying into itself', () => { describe('> when source is a directory', () => { describe('>> when dest is a directory', () => { - if (os.platform !== 'win32') { + if (os.platform() !== 'win32') { it(`of not itself`, done => { const dest = path.join(TEST_DIR, src) return testSuccess(src, dest, done)