mirror of
https://github.com/jprichardson/node-fs-extra.git
synced 2026-01-18 16:13:55 +00:00
lib/copy/__tests__/copy-dev-null.test.js: Edit copy-dev-null test description
This commit is contained in:
parent
cb24018293
commit
d64f8ea453
@ -10,7 +10,7 @@ const assert = require('assert')
|
||||
|
||||
let TEST_DIR = ''
|
||||
|
||||
describe('fs-extra', () => {
|
||||
describe('+ copy() - copy /dev/null', () => {
|
||||
beforeEach(done => {
|
||||
TEST_DIR = path.join(os.tmpdir(), 'test', 'fs-extra', 'copy-dev-null')
|
||||
fse.emptyDir(TEST_DIR, done)
|
||||
@ -18,8 +18,8 @@ describe('fs-extra', () => {
|
||||
|
||||
afterEach(done => fse.remove(TEST_DIR, done))
|
||||
|
||||
describe('+ copy()', () => {
|
||||
it('should error', done => {
|
||||
describe('> when src is /dev/null', () => {
|
||||
it('should copy successfully', done => {
|
||||
// no /dev/null on windows
|
||||
if (process.platform === 'win32') return done()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user