From f04093f998fa5d39ef553a20eb13c0706f853c21 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Thu, 19 Oct 2023 23:45:13 +0800 Subject: [PATCH] Update test to import `copy` from main exports --- lib/copy/__tests__/copy-broken-symlink.test.js | 2 +- lib/copy/__tests__/ncp/broken-symlink.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/copy/__tests__/copy-broken-symlink.test.js b/lib/copy/__tests__/copy-broken-symlink.test.js index 81e46dea5..68d989d59 100644 --- a/lib/copy/__tests__/copy-broken-symlink.test.js +++ b/lib/copy/__tests__/copy-broken-symlink.test.js @@ -5,7 +5,7 @@ const os = require('os') const fse = require('../..') const path = require('path') const assert = require('assert') -const copy = require('../copy') +const { copy } = require('../') /* global afterEach, beforeEach, describe, it */ diff --git a/lib/copy/__tests__/ncp/broken-symlink.test.js b/lib/copy/__tests__/ncp/broken-symlink.test.js index 956daa862..7a8db699d 100644 --- a/lib/copy/__tests__/ncp/broken-symlink.test.js +++ b/lib/copy/__tests__/ncp/broken-symlink.test.js @@ -3,7 +3,7 @@ const fs = require('fs') const os = require('os') const fse = require('../../..') -const ncp = require('../../copy') +const { copy: ncp } = require('../../') const path = require('path') const assert = require('assert')