11 lines
239 B
JavaScript
11 lines
239 B
JavaScript
|
|
var context = require('../context');
|
|
|
|
describe('ctx.inspect()', function(){
|
|
it('should return a json representation', function(){
|
|
var ctx = context();
|
|
var toJSON = ctx.toJSON(ctx);
|
|
|
|
toJSON.should.eql(ctx.inspect());
|
|
})
|
|
})
|