Add spec for registering/requiring Coffeescript
This commit is contained in:
parent
5cd18fe32a
commit
84f8bfbdef
2 changed files with 10 additions and 0 deletions
|
@ -48,6 +48,15 @@ describe('third-party module', function () {
|
|||
})
|
||||
})
|
||||
|
||||
describe('coffee-script', function () {
|
||||
it('can be registered and used to require .coffee files', function () {
|
||||
assert.doesNotThrow(function () {
|
||||
require('coffee-script').register()
|
||||
assert.strictEqual(require('./fixtures/module/test.coffee'), true)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
describe('global variables', function () {
|
||||
describe('process', function () {
|
||||
it('can be declared in a module', function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue