Procházet zdrojové kódy

Allow arguments to be passed when running tests

JC Brand před 2 roky
rodič
revize
f91f4cb7ab
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  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