Skip to content

Commit

Permalink
refactor(jQuery): Remove $.ajax, use async/await, move custom paths t…
Browse files Browse the repository at this point in the history
…o their own test

- I wanted to remove $.ajax, so replaced it with fetch
- Used async/await hopefully makes the tests easier to follow
- We were testing custom paths using `posts` model in every test, moved testing of this behaviour into it's own test and removed from all other tests.
  • Loading branch information
geekygrappler committed Nov 2, 2017
1 parent a624549 commit 93e9edd
Show file tree
Hide file tree
Showing 3 changed files with 352 additions and 362 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"ember-disable-prototype-extensions": "^1.1.2",
"ember-export-application-global": "^2.0.0",
"ember-fastboot-addon-tests": "^0.4.0",
"ember-fetch": "^3.4.3",
"ember-load-initializers": "^1.0.0",
"ember-resolver": "^4.0.0",
"ember-sinon": "0.5.1",
Expand Down
Loading

0 comments on commit 93e9edd

Please sign in to comment.