mirror of https://github.com/vitalif/phantomjs
parent
48fabe0646
commit
0c55c0a9e0
|
@ -1 +0,0 @@
|
||||||
module.exports = 'require/coffee_dummy'
|
|
|
@ -19,10 +19,6 @@ describe("require()", function() {
|
||||||
require('system').platform.should.equal('phantomjs');
|
require('system').platform.should.equal('phantomjs');
|
||||||
});
|
});
|
||||||
|
|
||||||
it("loads CoffeeScript modules", function() {
|
|
||||||
require('./coffee_dummy').should.equal('require/coffee_dummy');
|
|
||||||
});
|
|
||||||
|
|
||||||
it("doesn't expose CoffeeScript", function() {
|
it("doesn't expose CoffeeScript", function() {
|
||||||
should.not.exist(window.CoffeeScript);
|
should.not.exist(window.CoffeeScript);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue