mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
fix: ci failing to run tests
This commit is contained in:
@@ -12,7 +12,6 @@ Npm.depends({
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
api.versionsFrom("1.8.1");
|
||||
api.use('babel-compiler');
|
||||
api.use('ecmascript');
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@ Package.registerBuildPlugin({
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
api.versionsFrom("1.8.1");
|
||||
api.use('isobuild:compiler-plugin@1.0.0');
|
||||
|
||||
// Because the CoffeeScript plugin now calls
|
||||
|
||||
@@ -3,9 +3,9 @@ Package.describe({
|
||||
version: '2.0.0-alpha300.6',
|
||||
});
|
||||
|
||||
Package.onUse(function(api) {
|
||||
Package.onUse(function (api) {
|
||||
api.use(['tinytest', 'underscore', 'random', 'ejson', 'check']);
|
||||
api.use('http@1.0.1', 'server'); // TODO replace with fetch
|
||||
api.use('http', 'server'); // TODO replace with fetch
|
||||
|
||||
api.export('TEST_STATUS', 'client');
|
||||
|
||||
|
||||
@@ -15,11 +15,11 @@ if (Meteor.settings &&
|
||||
}
|
||||
|
||||
Meteor.methods({
|
||||
report: function (reports) {
|
||||
report: async function (reports) {
|
||||
// XXX Could do a more precise validation here; reports are complex!
|
||||
check(reports, [Object]);
|
||||
if (url) {
|
||||
HTTP.post(url, {
|
||||
await HTTP.post(url, {
|
||||
data: reports
|
||||
});
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ then
|
||||
./meteor npm install -g phantomjs-prebuilt browserstack-webdriver
|
||||
else
|
||||
# Installs into dev_bundle/lib/node_modules/puppeteer.
|
||||
./meteor npm install -g puppeteer
|
||||
./meteor npm install -g puppeteer@19
|
||||
fi
|
||||
|
||||
export PATH=$METEOR_HOME:$PATH
|
||||
@@ -25,6 +25,7 @@ export PATH=$METEOR_HOME:$PATH
|
||||
./meteor --help || exit 1
|
||||
|
||||
export URL='http://localhost:4096/'
|
||||
export METEOR_PACKAGE_DIRS='packages/deprecated'
|
||||
|
||||
exec 3< <(meteor test-packages --driver-package test-in-console -p 4096 --exclude ${TEST_PACKAGES_EXCLUDE:-''} $1)
|
||||
EXEC_PID=$!
|
||||
|
||||
Reference in New Issue
Block a user