diff --git a/project-manager/src/app/test-example/basic-test.spec.ts b/project-manager/src/app/test-example/basic-test.spec.ts index c9fe75a..47ed9e6 100644 --- a/project-manager/src/app/test-example/basic-test.spec.ts +++ b/project-manager/src/app/test-example/basic-test.spec.ts @@ -9,7 +9,7 @@ describe('Basic test', () => { someInt = 2; }); - // Testfall + // Testfall 1 it('should succeed on fundamental matchers', () => { expect(1+1).toBe(2) expect(null).toEqual(null); @@ -22,11 +22,13 @@ describe('Basic test', () => { expect('World').not.toContain('Hello'); }); + //Testfall 2 it('someInt should have value from beforeEach', () => { expect(someInt).toBe(2); someInt = 20; }); + // Testfall 3 it('someInt should have overwritten value from beforeEach', () => { expect(someInt).toBe(2); });