Browse Source

Allow arguments to be passed when running tests

JC Brand 2 years ago
parent
commit
f91f4cb7ab
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Makefile

+ 2 - 2
Makefile

@@ -221,11 +221,11 @@ eslint: node_modules
 
 .PHONY: check
 check: eslint | dist/converse.js dist/converse.css
-	npm run test
+	npm run test -- $(ARGS)
 
 .PHONY: test
 test:
-	npm run test
+	npm run test -- $(ARGS)
 
 ########################################################################
 ## Documentation