Explorar o código

Allow arguments to be passed when running tests

JC Brand %!s(int64=2) %!d(string=hai) anos
pai
achega
f91f4cb7ab
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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