Files
meteor/tools/tests
Ben Newman fb2146cb3b Stop excluding test modules when meteor.testModule found in package.json. (#10402)
New Meteor apps have the following meteor.testModule in their package.json
files by default

  "meteor": {
    "testModule": "tests/main.js"
  }

When meteor.testModule is defined, it determines the test entry point when
running the `meteor test` command, ignoring legacy file naming conventions
like *.tests.js or *.app-tests.js.

The package-source.js code changed by this commit was incorrect because it
ignored those specially-named test files even when running tests, which
was a problem if the meteor.testModule tried to import them explicitly,
because they would not be properly compiled.

If you're using meteor.testModule, the distinction between `meteor test`
and `meteor test --full-app` matters a bit less, since the test entry
point will be the same for both modes, though you can still check
Meteor.isTest and Meteor.isAppTest at runtime to control test behavior.
2019-01-06 15:02:48 -05:00
..
2016-06-06 02:17:36 +03:00
2018-01-16 18:56:04 -05:00
2018-02-07 13:30:21 -08:00
2015-08-06 16:39:00 -07:00
2017-09-22 08:47:37 -04:00
2017-04-07 18:50:17 +03:00
2018-01-29 14:25:09 +02:00
2016-05-13 15:09:03 -07:00