@blynx/test

A library for testing javascript using decorators

Usage no npm install needed!

<script type="module">
  import blynxTest from 'https://cdn.skypack.dev/@blynx/test';
</script>

README

@jabel/test

Javascript test decorators.

Example

@TestClass()
export class Testing {
    @TestMethod()
    public TestMe() {
        throw "err";
    }

    @TestMethod()
    public ServiceTest(assert: Assert) {
        assert.areEqual(true, true);
    }
}

Outputs:

✗ Testing (1 of 2) Passed
        ✗ TestMe Failed on ERROR: err