Improved test lauch for ci
This commit is contained in:
parent
a48da85ebe
commit
714cc8610a
1 changed files with 2 additions and 3 deletions
|
|
@ -5,11 +5,10 @@
|
||||||
import { chai } from 'meteor/practicalmeteor:chai';
|
import { chai } from 'meteor/practicalmeteor:chai';
|
||||||
import { Meteor } from 'meteor/meteor';
|
import { Meteor } from 'meteor/meteor';
|
||||||
import { HTTP } from 'meteor/http';
|
import { HTTP } from 'meteor/http';
|
||||||
import { Accounts } from 'meteor/accounts-base';
|
|
||||||
import Subscriptions from '/imports/api/Subscriptions/Subscriptions';
|
|
||||||
|
|
||||||
|
const testPort = process.env.TEST_PORT;
|
||||||
function url(path) {
|
function url(path) {
|
||||||
return `http://127.0.0.1:3000/${path}`;
|
return `http://127.0.0.1:${testPort}/${path}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
describe('basic api v1 returns', () => {
|
describe('basic api v1 returns', () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue