mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 03:43:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			273 B
		
	
	
	
		
			JavaScript
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			273 B
		
	
	
	
		
			JavaScript
		
	
	
		
			Executable File
		
	
	
	
	
'use strict';
 | 
						|
 | 
						|
const context = require('../helpers/context');
 | 
						|
 | 
						|
describe('ctx.inspect()', function () {
 | 
						|
  it('should return a json representation', function () {
 | 
						|
    const ctx = context();
 | 
						|
    const toJSON = ctx.toJSON(ctx);
 | 
						|
 | 
						|
    toJSON.should.eql(ctx.inspect());
 | 
						|
  });
 | 
						|
});
 |