Skip to content

Commit

Permalink
test(utils, plugin): fixing test for node4 failed in travis.ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ar4mirez committed Feb 13, 2017
1 parent 3ad4ceb commit 51eed61
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
8 changes: 7 additions & 1 deletion test/test_plugin.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
const {describe, it, expect, pkg, beforeEach} = require('./lab');
const lab = require('./lab');
const plugin = require('../lib');
const hapi = require('hapi');

const describe = lab.describe;
const it = lab.it;
const expect = lab.expect;
const pkg = lab.pkg;
const beforeEach = lab.beforeEach;

describe(`${pkg.name}:plugin`, () => {
let server;

Expand Down
7 changes: 6 additions & 1 deletion test/test_utils.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
const {describe, it, expect, pkg} = require('./lab');
const lab = require('./lab');
const utils = require('../lib/utils');

const describe = lab.describe;
const it = lab.it;
const expect = lab.expect;
const pkg = lab.pkg;

describe(`${pkg.name}:utils`, () => {
describe('utils:#loadFilesFromDir', () => {
it('should #loadFilesFromDir function exist.', done => {
Expand Down

0 comments on commit 51eed61

Please sign in to comment.