forked from typicode/json-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tests to use Promise syntax (typicode#507)
* Use promises in tests * Fix lint * Update tests * Update babelrc * Update config * Update engines
- Loading branch information
Showing
6 changed files
with
255 additions
and
287 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
{ | ||
"presets": [ | ||
["es2015", { "loose": true }] | ||
["env", { | ||
"targets": { | ||
"node": 4 | ||
}, | ||
"exclude": ["transform-regenerator"] | ||
}] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
--compilers js:babel-register | ||
--require babel-register | ||
--reporter spec | ||
--timeout 5000 | ||
--timeout 5000 |
Oops, something went wrong.