Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Ensure that compiler lookup works and not just that transpilation works (#2922)

Scott Santucci13b83402cb73
diff --git a/Makefile b/Makefile
index 2fa367e8..3e694ba6 100644
--- a/Makefile
+++ b/Makefile
@@ -74,9 +74,15 @@ test-integration:
test-compilers:
@printf "==> [Test :: Compilers]\n"
- $(call test_node,compilers) --compilers coffee:coffee-script/register,foo:./test/compiler/foo \
- test/compiler/test.coffee \
- test/compiler/test.foo
+ $(call test_node,compilers-coffee) --compilers coffee:coffee-script/register \
+ test/compiler
+
+ $(call test_node,compilers-custom) --compilers foo:./test/compiler-fixtures/foo \
+ test/compiler
+
+ $(call test_node,compilers-multiple) \
+ --compilers coffee:coffee-script/register,foo:./test/compiler-fixtures/foo \
+ test/compiler
test-requires:
@printf "==> [Test :: Requires]\n"
diff --git a/test/compiler/foo.js b/test/compiler-fixtures/foo.js
similarity index 100%
rename from test/compiler/foo.js
rename to test/compiler-fixtures/foo.js