Skip to content

Commit b41551b

Browse files
TCourtneyOwenakrantz
authored andcommitted
add UI tests (#162)
1 parent 088537a commit b41551b

14 files changed

+1085
-334
lines changed

.vscode/launch.json

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,27 @@
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7+
{
8+
"type": "node",
9+
"request": "launch",
10+
"name": "Debug Tests",
11+
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
12+
"args": [
13+
"-u",
14+
"tdd",
15+
"--timeout",
16+
"999999",
17+
"--colors",
18+
"${workspaceFolder}/test",
19+
"-r",
20+
"ts-node/register",
21+
"${workspaceFolder}/test/*.ts"
22+
],
23+
"internalConsoleOptions": "openOnSessionStart",
24+
"runtimeArgs": [
25+
"--preserve-symlinks"
26+
]
27+
},
728
{
829
"name": "Excel Desktop",
930
"type": "node",
@@ -37,7 +58,24 @@
3758
"url": "${input:officeOnlineDocumentUrl}",
3859
"webRoot": "${workspaceFolder}",
3960
"preLaunchTask": "Debug: Web"
40-
}
61+
},
62+
{
63+
"type": "node",
64+
"request": "launch",
65+
"name": "Debug Tests",
66+
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
67+
"args": [
68+
"-u",
69+
"tdd",
70+
"--timeout",
71+
"999999",
72+
"--colors",
73+
"-r",
74+
"ts-node/register",
75+
"${workspaceFolder}/test/*.ts"
76+
],
77+
"internalConsoleOptions": "openOnSessionStart",
78+
},
4179
],
4280
"inputs": [
4381
{

.vscode/tasks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
"label": "Build (Development)",
88
"type": "npm",
9-
"script": "build-dev",
9+
"script": "build:dev",
1010
"group": {
1111
"kind": "build",
1212
"isDefault": true

0 commit comments

Comments
 (0)