From 77ab93a96d0b16c14341239cb03d92bc4ce6223a Mon Sep 17 00:00:00 2001 From: Quentin Rossetti Date: Wed, 17 Oct 2018 21:11:57 +0200 Subject: [PATCH] style: Use remove() instead of delete() because `delete` is JS reserved --- test/func/{delete.spec.js => remove.spec.js} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename test/func/{delete.spec.js => remove.spec.js} (97%) diff --git a/test/func/delete.spec.js b/test/func/remove.spec.js similarity index 97% rename from test/func/delete.spec.js rename to test/func/remove.spec.js index 18f0f0d..2f0aed1 100644 --- a/test/func/delete.spec.js +++ b/test/func/remove.spec.js @@ -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`