We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9141d59 commit 762fdf3Copy full SHA for 762fdf3
test/tests/clone.js
@@ -18,11 +18,13 @@ describe("Clone", function() {
18
this.timeout(30000);
19
20
beforeEach(function() {
21
- return fse.remove(this.clonePath).catch(function(err) {
22
- console.log(err);
+ if (this.clonePath) {
+ return fse.remove(this.clonePath).catch(function(err) {
23
+ console.log(err);
24
- throw err;
25
- });
+ throw err;
26
+ });
27
+ }
28
});
29
30
afterEach(function(done) {
0 commit comments