Skip to content
This repository was archived by the owner on Oct 1, 2024. It is now read-only.

Commit 681871e

Browse files
v-czgv-czg
authored andcommitted
update to arrow function
1 parent 6c026e6 commit 681871e

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

test/verify.test.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ import * as vscode from "vscode";
77

88
// Defines a Mocha test suite to group tests of similar kind together
99
suite("Arduino: Verify: Build (verify) your sketch files.", () => {
10-
test("should be run command: Arduino verify", function(done) {
11-
this.timeout(3 * 60 * 1000);
10+
test("should be run command: Arduino verify", (done) => {
1211
try {
13-
// Press Ctrl+ R to run "arduino:verify" command.
12+
// Press ctrl+alt+r to run "arduino:verify" command.
1413
vscode.commands.executeCommand("arduino.verify").then((result) => {
1514
vscode.window.showInformationMessage("verify sketch successfully");
1615
done();
@@ -19,6 +18,6 @@ suite("Arduino: Verify: Build (verify) your sketch files.", () => {
1918
} catch (error) {
2019
done(new Error(error));
2120
}
22-
});
21+
}).timeout(3 * 60 * 1000);
2322

2423
});

tslint.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
true,
3232
150
3333
],
34-
"no-angle-bracket-type-assertion": false,
35-
"only-arrow-functions": false
34+
"no-angle-bracket-type-assertion": false
3635
}
3736
}

0 commit comments

Comments
 (0)