mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-11 00:02:19 -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)
|