Focused Specs and Suites
fstory( "A spec", function() {
it("was just skipped, so I will never execute", function() {
coldbox = 0;
coldbox++;
expect( coldbox ).toBe( 1 );
});
});
describe("A spec", function() {
it("is just a closure, so it can contain any code", function() {
coldbox = 0;
coldbox++;
expect( coldbox ).toBe( 1 );
});
fit("can have more than one expectation, but I am skipped", function() {
coldbox = 0;
coldbox++;
expect( coldbox ).toBe( 1 );
expect( coldbox ).toBeTrue();
});
});Last updated
Was this helpful?