Skip to content

Commit

Permalink
Test against hapi v19 on node v12
Browse files Browse the repository at this point in the history
  • Loading branch information
devinivy committed Jan 16, 2020
1 parent db2033b commit fc89aac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -34,7 +34,9 @@
"@hapi/boom": "7.x.x",
"@hapi/code": "6.x.x",
"@hapi/hapi": "18.x.x",
"@hapi/hapi-19": "npm:@hapi/hapi@19",
"@hapi/lab": "20.x.x",
"@hapi/somever": "2.x.x",
"coveralls": "3.x.x"
}
}
4 changes: 3 additions & 1 deletion test/index.js
Expand Up @@ -6,11 +6,13 @@ const EventEmitter = require('events');
const Stream = require('stream');
const Lab = require('@hapi/lab');
const Code = require('@hapi/code');
const Hapi = require('@hapi/hapi');
const Somever = require('@hapi/somever');
const Boom = require('@hapi/boom');
const Hoek = require('@hapi/hoek');
const Toys = require('..');

const Hapi = Somever.match(process.version, '>=12') ? require('@hapi/hapi-19') : require('@hapi/hapi');

// Test shortcuts

const lab = exports.lab = Lab.script();
Expand Down

0 comments on commit fc89aac

Please sign in to comment.