diff --git a/src/index.spec.ts b/src/index.spec.ts index 25b86f1..4b38c19 100644 --- a/src/index.spec.ts +++ b/src/index.spec.ts @@ -13,4 +13,23 @@ describe('a test suite', () => { it('should create element', () => { expect(element.innerHTML).toBe('hello there'); }); + + describe('an inner test suite', () => { + it("should always be true: Level 2", () => { + expect(true).toBeTrue(); + expect(undefined).toBeUndefined(); + expect(null).toBeNull(); + expect(["foo", "bar"]).toHaveSize(2); + expect({ "foo": "bar" }).toEqual({ "foo": "bar" }); + }); + describe('another inner test suite', () => { + it("should always be true: level 3", () => { + expect(true).toBeTrue(); + expect(undefined).toBeUndefined(); + expect(null).toBeNull(); + expect(["foo", "bar"]).toHaveSize(2); + expect({ "foo": "bar" }).toEqual({ "foo": "bar" }); + }); + }); + }); }); diff --git a/src/index.ts b/src/index.ts index 18abbd3..f7350df 100644 --- a/src/index.ts +++ b/src/index.ts @@ -18,7 +18,7 @@ export const jasmineTestRunnerConfig = () => { reporters: [ defaultReporter({ reportTestResults: true, reportTestProgress: true }) ], - testRunnerHtml: (_path: any, config: { testFramework: { config?: JasmineConfig }}) => { + testRunnerHtml: (_path: any, config: { testFramework: { config?: JasmineConfig } }) => { const testFramework = { path: './node_modules/jasmine-core/lib/jasmine-core/jasmine.js', config: { @@ -35,7 +35,7 @@ export const jasmineTestRunnerConfig = () => {