25
loading...
This website collects cookies to deliver better user experience
Is it a box of eggs or something else
Are there eggs at all
Are there six eggs or less
Is there a broken egg
Are they the size you wanted
describe("A suite is just a function", ()=> {
**let **a;
it("and so is a spec", ()=> {
a **=** **true**;
expect(a).toBe(**true**);
});
});
Test all possible case scenarios
Check the level of code coverage
**Mock **any external classes/services
Don’t test third-party libraries.
Write tests as soon as you progress with the development. Don’t wait until the end