File tree 2 files changed +10
-5
lines changed
2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,13 @@ var HTTPStatus = require("http-status");
5
5
var model = require ( '../../models' ) ;
6
6
if ( process . env . TRAVIS == 'true' ) {
7
7
model . sequelize . sync ( ) . then ( function ( ) {
8
- test ( ) ;
8
+ console . log ( 'Testing...' ) ;
9
9
} ) ;
10
+ test ( ) ;
11
+ }
12
+ else {
13
+ test ( ) ;
10
14
}
11
- test ( ) ;
12
15
function test ( ) {
13
16
describe ( '## User Tests' , function ( ) {
14
17
'use strict' ;
Original file line number Diff line number Diff line change @@ -5,12 +5,14 @@ import * as HTTPStatus from 'http-status';
5
5
var model = require ( '../../models' ) ;
6
6
7
7
if ( process . env . TRAVIS == 'true' ) {
8
- model . sequelize . sync ( ) . then ( ( ) => {
9
- test ( ) ;
8
+ model . sequelize . sync ( ) . then ( ( ) => {
9
+ console . log ( 'Testing...' )
10
10
} ) ;
11
+ test ( ) ;
12
+ } else {
13
+ test ( ) ;
11
14
}
12
15
13
- test ( ) ;
14
16
function test ( ) {
15
17
describe ( '## User Tests' , ( ) => {
16
18
'use strict' ;
You can’t perform that action at this time.
0 commit comments