Skip to content

Commit

Permalink
test(local-server): disabled the HAPI test on node 6
Browse files Browse the repository at this point in the history
affects: @serenity-js/local-server
  • Loading branch information
jan-molak committed Nov 16, 2018
1 parent fed835f commit 0e9d15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/local-server/spec/servers/hapi.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// https://github.com/hapijs/hapi
import * as hapi from 'hapi';

export = {
node: '>= 8.12',
description: 'Hapi app',
handler: () => {
const hapi = require('hapi'); // tslint:disable-line:no-var-requires Requiring Hapi breaks the build on Node 6
const server = new hapi.Server();

server.route({ method: 'GET', path: '/', handler: (req, h) => 'Hello World!' });
Expand Down

0 comments on commit 0e9d15f

Please sign in to comment.