Skip to content

Commit

Permalink
update to arrow function
Browse files Browse the repository at this point in the history
  • Loading branch information
v-czg authored and v-czg committed Apr 26, 2017
1 parent 6c026e6 commit 681871e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 3 additions & 4 deletions test/verify.test.ts
Expand Up @@ -7,10 +7,9 @@ import * as vscode from "vscode";

// Defines a Mocha test suite to group tests of similar kind together
suite("Arduino: Verify: Build (verify) your sketch files.", () => {
test("should be run command: Arduino verify", function(done) {
this.timeout(3 * 60 * 1000);
test("should be run command: Arduino verify", (done) => {
try {
// Press Ctrl+ R to run "arduino:verify" command.
// Press ctrl+alt+r to run "arduino:verify" command.
vscode.commands.executeCommand("arduino.verify").then((result) => {
vscode.window.showInformationMessage("verify sketch successfully");
done();
Expand All @@ -19,6 +18,6 @@ suite("Arduino: Verify: Build (verify) your sketch files.", () => {
} catch (error) {
done(new Error(error));
}
});
}).timeout(3 * 60 * 1000);

});
3 changes: 1 addition & 2 deletions tslint.json
Expand Up @@ -31,7 +31,6 @@
true,
150
],
"no-angle-bracket-type-assertion": false,
"only-arrow-functions": false
"no-angle-bracket-type-assertion": false
}
}

0 comments on commit 681871e

Please sign in to comment.