示例#1
0
文件: index.js 项目: ICELI/webpack
it("should export functions", function() {
	expect(fn).toBeTypeOf("function");
	expect(fn()).toBe("fn");
	expect((fn === fn)).toBe(true);
});
示例#2
0
文件: index.js 项目: stlclass/webpack
it("should export functions", function() {
	fn.should.have.type("function");
	fn().should.be.eql("fn");
});