fix: ci failing to run tests

This commit is contained in:
Rodrigo Nascimento
2023-06-14 11:47:37 -03:00
parent 276e670b6c
commit db18bfad65
5 changed files with 6 additions and 7 deletions

View File

@@ -12,7 +12,6 @@ Npm.depends({
});
Package.onUse(function (api) {
api.versionsFrom("1.8.1");
api.use('babel-compiler');
api.use('ecmascript');

View File

@@ -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

View File

@@ -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');

View File

@@ -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
});
}

View File

@@ -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=$!