3.0.0 • Published 3 years ago

@hyper-graph/jest v3.0.0

Weekly downloads
5
License
MIT
Repository
-
Last release
3 years ago

Hyper-graph jest

Why

Because describing test suites with jest isn't convenient.

Before

describe('test suite name', () => {
  let app;
  
  beforeAll(() => {
    app = initApp();  
  });

  test('test name', () => {
    app.doSomething();
  });
});

Now

@RunTestSuite()
class TestSuiteName extends TestSuite {
  private app: App;

  async setUp() {
    this.app = await initApp();
  }

  @test()
  async testName() {
    await this.app.doSomething();
  }
}
3.0.0

3 years ago

2.2.1

3 years ago

2.2.0

3 years ago

2.2.3

3 years ago

2.2.2

3 years ago

2.1.0

3 years ago

2.1.0-0

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago