An open API service indexing awesome lists of open source software.

https://github.com/lenqwang/test-case

Created with CodeSandbox
https://github.com/lenqwang/test-case

Last synced: 4 months ago
JSON representation

Created with CodeSandbox

Awesome Lists containing this project

README

        

## Karma + Jasmine running Unit Test

```sh
npm test # unit test & coverage
```

### Karma part of APIs

```
expect(result).toBeDefined()
expect(result).toBeGreaterThan(3)
expect(result).toBeLessThan(0)
expect(thing).toBeNaN()
expect(string).toContain(substring)
expect('my string').toMatch(/^my/)
```