Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
## Unit Tests

### Write Unit Tests

Write tests alongside components and services, as `<thing>.spec.ts`:
```
components/
- About.ts
- About.spec.ts
```

### Run Tests with Karma
```
$ npm test
```

Or

```
$ npm install -g karma
$ karma start
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "karma start"
},
"author": "",
"license": "MIT",
Expand Down