mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-17 11:01:25 -05:00
Added an extension on node's 'require' module so it can import .coffee module and added some tests to make sure it works.
This commit is contained in:
2
test/test_importing.coffee
Normal file
2
test/test_importing.coffee
Normal file
@@ -0,0 +1,2 @@
|
||||
# Check if it can import a coffeescript-only module and check its output
|
||||
ok (require 'test_module').foo is "bar"
|
||||
Reference in New Issue
Block a user