Closed MrChocolatine closed 3 years ago
Config ember-test is not relevant anymore and could be deleted.
ember-test
server is no longer a global symbol.
server
server was a global symbol with Ember.js < v3.0.0 in with ember-cli-mirage < v1.0.0: https://github.com/miragejs/ember-cli-mirage/blob/bf4ac5a8a7245c32c8a502bfcaf4bff5f3a30880/tests/dummy/app/pods/docs/writing-your-server/acceptance-testing/template.md
ember-cli-mirage
Mirage's server should now be accessed through this.server: https://github.com/miragejs/ember-cli-mirage/blob/f9520f18f37636ef8ccd452342a4ad877f1b5311/tests/dummy/app/pods/docs/testing/acceptance-tests/template.md#L26
this.server
The predefined environment embertest is not relevant anymore.
embertest
https://github.com/sindresorhus/globals/blob/c68458b91ae4d0dbcdc263f8c842d9f72b630b56/globals.json#L1629-L1645
All those functions are now accessed through this or through the add-on ember-test-helpers.
this
ember-test-helpers
Config
ember-test
is not relevant anymore and could be deleted.server
is no longer a global symbol.server
was a global symbol with Ember.js < v3.0.0 in withember-cli-mirage
< v1.0.0: https://github.com/miragejs/ember-cli-mirage/blob/bf4ac5a8a7245c32c8a502bfcaf4bff5f3a30880/tests/dummy/app/pods/docs/writing-your-server/acceptance-testing/template.mdMirage's server should now be accessed through
this.server
: https://github.com/miragejs/ember-cli-mirage/blob/f9520f18f37636ef8ccd452342a4ad877f1b5311/tests/dummy/app/pods/docs/testing/acceptance-tests/template.md#L26The predefined environment
embertest
is not relevant anymore.https://github.com/sindresorhus/globals/blob/c68458b91ae4d0dbcdc263f8c842d9f72b630b56/globals.json#L1629-L1645
All those functions are now accessed through
this
or through the add-onember-test-helpers
.