Ben Newman
5f6f585276
Test fallback to index.js when package.json has no "main" field.
...
Related to #6589 .
2016-03-24 20:07:14 -04:00
Ben Newman
be871bf2ed
Upgrade modules-runtime install package to v0.6.1.
...
Fixes #6543 .
2016-03-20 13:44:10 -04:00
Ben Newman
5d4bc59a20
Fix source maps-related self-tests.
...
We no longer go to the trouble of generating source maps for files not
processed by compiler plugins, since that was slow and not very useful
(see ad3f56a0bf ).
However, that means the test app and package that we use to test source
maps and stack trace rewriting need to use the ecmascript package in order
to behave as they did before that commit.
2016-03-20 13:44:09 -04:00
Ben Newman
e901134004
Fix findAssignedGlobals self-test.
...
It turns out the test itself was wrong, and the new findAssignedGlobals
implementation does a better job than the old.
2016-03-20 11:41:45 -04:00
Martijn Walraven
38236ddaa5
Make another self-test pass
2016-03-20 12:30:31 +01:00
Martijn Walraven
0486b473e8
Make some more self tests pass
2016-03-18 20:40:57 +01:00
Ben Newman
19d9f33219
Test that #6514 is fixed.
2016-03-18 15:00:54 -04:00
Martijn Walraven
d54d681697
Make some more self tests pass
2016-03-17 21:20:12 +01:00
Martijn Walraven
45ad2ed21e
Make Cordova self tests pass
2016-03-17 16:48:25 +01:00
Ben Newman
37c218ec09
Update version metadata for modules test app.
2016-03-17 01:23:53 -04:00
Ben Newman
267bae8803
Remove meteor-env-{dev,prod} from modules test app .meteor/versions.
2016-03-14 21:05:55 -04:00
Ben Newman
c27e96bbd5
Update .meteor/versions for the modules test app.
2016-03-11 19:24:28 -05:00
Ben Newman
f56940b314
Fix CSS computed property tests broken by app-hiding logic.
2016-03-10 16:04:04 -05:00
Ben Newman
ab959fb700
import assert from "assert"
2016-03-10 16:03:52 -05:00
Ben Newman
8c6d38ea3f
Use avital:mocha for the modules test app.
2016-03-10 15:47:56 -05:00
Ben Newman
4f5cb1d7a0
Bump package versions for 1.3-beta.16 release.
...
What happened to beta.13, beta.14, and beta.15? All unfortunately suffered
from problems that made it either impossible or unwise to upgrade to those
versions.
2016-03-09 12:13:18 -05:00
Ben Newman
2cc42128a6
Bump package versions for 1.3-beta.13 release
2016-03-08 22:48:49 -05:00
Ben Newman
a92aaee133
Test that various packages can now be imported using pure Node.
...
Closes #6165 .
Closes #6173 .
Closes #6285 .
Closes #6313 .
Closes #6373 .
2016-03-07 19:52:05 -05:00
Ben Newman
636c4b9046
Update tools/tests/apps/modules/.meteor/versions for beta.12.
2016-02-29 23:35:17 -05:00
Ben Newman
5c47891489
Allow custom stubs to override meteor-node-stubs.
...
Part of #6056 .
2016-02-29 19:45:52 -05:00
Ben Newman
7acca944a9
Remove manual stream stub, now that we have meteor-node-stubs.
2016-02-29 16:12:21 -05:00
Ben Newman
4236cdafbf
Test with meteor test --full-app instead of meteor test-app.
2016-02-29 15:42:59 -05:00
Ben Newman
1d5e424bb7
Remove assertion that assumed too much about the util stub package.
2016-02-28 14:02:21 -05:00
Ben Newman
2fa65685d6
Install stubs for Node built-in modules automatically.
...
The implementation of these stubs is controlled by an optional npm package
called meteor-node-stubs, so we can keep iterating on them after releasing
Meteor 1.3, if we need to.
Fixes #6056 .
2016-02-27 18:41:23 -05:00
David Glasser
83e9e68e2b
Drop tests that use the test-package-stats server
...
These tests have long been flaky, and we are changing some of the
infrastructure that the test server relies on.
2016-02-26 14:28:29 -08:00
Ben Newman
22d423e5a5
Infer optional import extensions from source processors.
...
This way, enabling an optional import extension like .jsx or .ts is as
easy as using the relevant compiler plugin.
Fixes #6151 .
2016-02-26 14:36:32 -05:00
Ben Newman
ed454dfd7b
Test that #6312 was fixed by the recent Babel upgrade.
...
Closes #6312 .
2016-02-26 13:26:06 -05:00
Ben Newman
c1b57d672e
Update .meteor/versions for modules test app.
2016-02-26 12:51:13 -05:00
Ben Newman
292824da3f
Update babel-compiler dependencies.
...
The meteor-babel update includes a change to ignore .babelrc files, which
fixes #6016 .
The check update just seemed like a good idea.
2016-02-26 12:36:57 -05:00
Ben Newman
c9f42c7bc2
Always enable profiling when running the modules test app.
2016-02-26 12:36:57 -05:00
Ben Newman
c33f2f25c4
Use --driver-package when testing the modules app.
2016-02-26 11:00:16 -05:00
David Glasser
d4b8f08fc7
Drop tests that rely on the legacy deploy service
2016-02-23 17:53:13 -08:00
David Glasser
7786b4ff29
Drop tests that use the test-packages server
...
These tests have long been flaky, and we are changing some of the
infrastructure that the test server relies on.
2016-02-23 17:53:13 -08:00
Ben Newman
67e5157db4
Test that stub modules can be installed under different names.
...
This relies on the symbolic link functionality provided by meteorInstall.
2016-02-23 19:53:09 -05:00
Ben Newman
0efd8b7bef
Allow JSX syntax in .js files compiled with ecmascript.
...
Fixes #6151 .
2016-02-23 18:32:32 -05:00
Ben Newman
1f3c03d662
Use meteor test-app to run the modules test app.
2016-02-19 17:07:07 -05:00
Martijn Walraven
d922c816be
Bump package versions for 1.3-beta.11 release
2016-02-18 14:26:48 +01:00
Avital Oliver
af6b9df244
Merge branch 'release-1.3' into app-tests
2016-02-17 21:48:42 -08:00
Ben Newman
868c249c15
Add a test to verify #6240 has been fixed.
...
Closes #6240 .
2016-02-16 20:58:12 -05:00
Ben Newman
4e5f7ab83c
Update .meteor/versions for modules test app.
2016-02-16 16:46:56 -05:00
Avital Oliver
0deeda7be2
Merge branch 'release-1.3' into app-tests
2016-02-15 22:22:48 -08:00
Ben Newman
1fd6a31913
Update .meteor/versions for modules test app.
2016-02-13 16:17:46 -05:00
Ben Newman
017ded7ab6
Install client-side stub for buffer module in modules test app.
2016-02-13 16:17:02 -05:00
Ben Newman
c368d98593
Support __filename and __dirname.
...
Part of #6055 .
Fixes #6022 .
2016-02-13 16:09:40 -05:00
Ben Newman
3ecc3e43a9
Allow main/browser field of package.json to be top-level identifier.
2016-02-12 16:58:12 -05:00
Ben Newman
e4544b5428
Prevent local node_modules from overriding builtins on the server.
2016-02-12 12:21:19 -05:00
Ben Newman
5d0a8f8f0e
Allow apps and packages to import "meteor/<package>/..." modules.
2016-02-11 11:45:58 -05:00
Ben Newman
ce4fda3783
Tolerate compilation errors for lazy files.
...
Fixes #5998 .
2016-02-11 11:41:39 -05:00
Ben Newman
1437e07ee5
Forbid server bundles from importing client-only files.
...
This partially reverts 35a02864af , and also
fixes #6182 .
2016-02-11 11:41:39 -05:00
Ben Newman
35a02864af
Allow client modules to be imported by server modules.
2016-02-05 18:37:54 -05:00