Skip to content

Commit

Permalink
style: Use remove() instead of delete() because delete is JS reserved
Browse files Browse the repository at this point in the history
  • Loading branch information
q2s2t committed Oct 17, 2018
1 parent 8d323c0 commit 77ab93a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/func/delete.spec.js → test/func/remove.spec.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* global describe, it */
import { expect } from 'chai'
import { copyFileSync, statSync } from 'fs'
import { del } from '../../lib/commands.js'
import { remove as del } from '../../lib/commands.js'

const mockDir = './test/_mock'
const tmpDir = './test/_tmp'

describe('Functional: delete()', function () {
describe('Functional: remove()', function () {
it('should return an error on 7z error', function (done) {
const archive = '/i/hope/this/is/not/where/your/archive/is'
const source = `${mockDir}/dev/null`
Expand Down

0 comments on commit 77ab93a

Please sign in to comment.