npm

Need private packages and team management tools?Check out npm Orgs. »

oly-test

0.10.4 • Public • Published

oly test

// DummyTest.ts
import { Logger, inject } from "oly-core";
import { check } from "oly-test";
 
export class DummyTest {
  @inject logger: Logger;
  
  @check typeOfLoggerInfo() {
    expect(typeof this.logger.info)
      .toBe("function");
  }
}

install

npm i oly-test

Downloadsweekly downloads

74

version

0.10.4

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability