Skip to content

Commit c3a738d

Browse files
committed
Added the jvsce unit-tests to ant test-vscode-ext target
This will ensure that CI runs will perform both unit and integration tests. Signed-off-by: Siddharth Srinivasan <[email protected]>
1 parent c4e7301 commit c3a738d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,11 @@
286286
</target>
287287

288288
<target name="test-vscode-ext" depends="test-lsp-server" description="Tests the Visual Studio Code extension built by 'build-vscode-ext' target.">
289+
<exec executable="npm${cmd.suffix}" failonerror="true" dir="vscode">
290+
<arg value="--allow-same-version"/>
291+
<arg value="run" />
292+
<arg value="test:unit" />
293+
</exec>
289294
<exec executable="npm${cmd.suffix}" failonerror="true" dir="vscode">
290295
<arg value="--allow-same-version"/>
291296
<arg value="run" />

0 commit comments

Comments
 (0)