Skip to content

Commit

Permalink
ci: Fix test invocation (#390)
Browse files Browse the repository at this point in the history
During the rebase of #366, I accidentally duplicated the `test` key
inside the `scripts` in `package.json`. There was no warning whatsoever
and CI was still green, but didn't actually run the `vscode-test` tests.

This commit fixes the mishap

Co-authored-by: Cameron Martin <[email protected]>
  • Loading branch information
vogelsgesang and cameron-martin authored May 2, 2024
1 parent 1d3ac18 commit 901006c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,6 @@
"check-lint": "eslint .",
"compile": "./scripts/build.sh",
"pretest": "./scripts/build.sh",
"test": "vscode-test",
"format-check": "prettier --check .",
"format-fix": "prettier --write .",
"test": "./scripts/test.sh",
Expand Down
3 changes: 3 additions & 0 deletions scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ js-yaml syntaxes/bazelrc.tmLanguage.yaml > syntaxes/bazelrc.tmLanguage.json

# Regression test for bazelrc grammar
vscode-tmgrammar-snap "$@" test/example.bazelrc

# Java Script tests
vscode-test

0 comments on commit 901006c

Please sign in to comment.