Exemple #1
0
it("should export functions", function() {
	expect(fn).toBeTypeOf("function");
	expect(fn()).toBe("fn");
	expect((fn === fn)).toBe(true);
});
Exemple #2
0
it("should export functions", function() {
	fn.should.have.type("function");
	fn().should.be.eql("fn");
});