You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.
describe('my module', function () {
it('does something that should be tested', function () {
// This code will be executed by the test driver when the app is started
// in the correct mode
})
})
Should the tutorial and examples avoid arrow functions as per the guide? Or have I misunderstood something?
The text was updated successfully, but these errors were encountered:
The example tests in the React tutorial simple todos and the todos project example use arrow function in all test definitions, like this:
However the Meteor guide says:
"Note that arrow function use with Mocha is discouraged."
https://guide.meteor.com/testing.html#test-files
http://mochajs.org/#arrow-functions
and shows an example like this:
Should the tutorial and examples avoid arrow functions as per the guide? Or have I misunderstood something?
The text was updated successfully, but these errors were encountered: