Commit 848ba06
Kristján Oddsson
chore(test): mock all request responses (#376)
* chore(test): mock all request responses
* chore(ci): run tests on circleci
* fix(ci): put lint and test in seperate run lines
* chore: make mock data json more human readable
* feat: add a way to re-record mock data
* fix(ci): disable weather test
The upstream data source is currently broken so we're disablign the test
for now.
* chore(test): re-record the mock test data
* Add a note about `nock` in the README docs1 parent 9532eec commit 848ba06
File tree
6 files changed
+71672
-4
lines changed- .circleci
- endpoints/weather/tests
- test/integration
6 files changed
+71672
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
37 | 36 | | |
| 37 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
42 | 58 | | |
43 | 59 | | |
44 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments