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

Commit 87d1cb5

Browse files
v-czgv-czg
v-czg
authored and
v-czg
committed
improve the description of test case
1 parent 8444eab commit 87d1cb5

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

test/extension.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ suite("Arduino Extension Tests", () => {
2727
}
2828
});
2929

30-
test("should be register Arduino commands", () => {
30+
test("should be able to register Arduino commands", () => {
3131
return vscode.commands.getCommands(true).then((commands) => {
3232
const ARDUINO_COMMANDS = [
3333
"arduino.verify",

test/verify.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +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", (done) => {
10+
// tslint:disable-next-line: only-arrow-functions
11+
test("should be able to run command: Arduino verify", function(done) {
12+
this.timeout(3 * 60 * 1000);
1113
try {
1214
// Press ctrl+alt+r to run "arduino:verify" command.
1315
vscode.commands.executeCommand("arduino.verify").then((result) => {
@@ -17,6 +19,6 @@ suite("Arduino: Verify: Build (verify) your sketch files.", () => {
1719
} catch (error) {
1820
done(new Error(error));
1921
}
20-
}).timeout(3 * 60 * 1000);
22+
});
2123

2224
});

0 commit comments

Comments
 (0)