renaming import test files to avoid risking the disfavor of .gitignore
This commit is contained in:
parent
f2f10e85a8
commit
2e408648aa
|
@ -19,16 +19,16 @@ unless window? or testingBrowser?
|
||||||
|
|
||||||
test "javascript modules can be imported", ->
|
test "javascript modules can be imported", ->
|
||||||
magicVal = 1
|
magicVal = 1
|
||||||
for module in 'test.js test2 .test2 test.extension.js test.unknownextension .coffee .coffee.md'.split ' '
|
for module in 'import.js import2 .import2 import.extension.js import.unknownextension .coffee .coffee.md'.split ' '
|
||||||
ok require("./importing/#{module}").value?() is magicVal, module
|
ok require("./importing/#{module}").value?() is magicVal, module
|
||||||
|
|
||||||
test "coffeescript modules can be imported", ->
|
test "coffeescript modules can be imported", ->
|
||||||
magicVal = 2
|
magicVal = 2
|
||||||
for module in '.test.coffee test.coffee test.extension.coffee'.split ' '
|
for module in '.import.coffee import.coffee import.extension.coffee'.split ' '
|
||||||
ok require("./importing/#{module}").value?() is magicVal, module
|
ok require("./importing/#{module}").value?() is magicVal, module
|
||||||
|
|
||||||
test "literate coffeescript modules can be imported", ->
|
test "literate coffeescript modules can be imported", ->
|
||||||
magicVal = 3
|
magicVal = 3
|
||||||
# Leading space intentional to check for index.coffee.md
|
# Leading space intentional to check for index.coffee.md
|
||||||
for module in ' .test.coffee.md test.coffee.md test.litcoffee test.extension.coffee.md'.split ' '
|
for module in ' .import.coffee.md import.coffee.md import.litcoffee import.extension.coffee.md'.split ' '
|
||||||
ok require("./importing/#{module}").value?() is magicVal, module
|
ok require("./importing/#{module}").value?() is magicVal, module
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
# Required by ../importing.coffee
|
||||||
|
module.exports = {value: -> 2}
|
|
@ -0,0 +1,3 @@
|
||||||
|
Required by ../importing.coffee
|
||||||
|
|
||||||
|
module.exports = {value: -> 3}
|
Loading…
Reference in New Issue