mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
9 lines
268 B
CoffeeScript
9 lines
268 B
CoffeeScript
|
describe 'require', ->
|
||
|
it 'has no modules that error when you import them', ->
|
||
|
modules = window.require.list()
|
||
|
for module in modules
|
||
|
try
|
||
|
require(module)
|
||
|
catch
|
||
|
console.error 'Could not load', module
|
||
|
expect(false).toBe(true)
|