Skip to content

Commit

Permalink
test(spec): fix tests after middleware/renderer removal
Browse files Browse the repository at this point in the history
  • Loading branch information
dmbch committed Feb 2, 2018
1 parent 96454a8 commit 058b557
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/spec/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ var events = require('events');

var mocks = require('node-mocks-http');

var createMiddleware = require('hops-middleware');
var createMiddleware = require('hops-build').createMiddleware;

var goodConfig = require('./mock/webpack.good');
var badExportConfig = require('./mock/webpack.bad-export');
Expand Down
2 changes: 0 additions & 2 deletions packages/spec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
"hops-build-config": "10.0.0-rc.2",
"hops-config": "10.0.0-rc.2",
"hops-express": "10.0.0-rc.2",
"hops-middleware": "10.0.0-rc.0",
"hops-react": "10.0.0-rc.2",
"hops-redux": "10.0.0-rc.2",
"hops-renderer": "10.0.0-rc.2",
"isomorphic-fetch": "^2.2.1",
"jest": "^22.0.4",
"jest-preset-hops": "10.0.0-rc.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/spec/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

var assert = require('assert');

var createRenderer = require('hops-renderer');
var createRenderer = require('hops-build').createRenderer;

var goodConfig = require('./mock/webpack.good');
var badExportConfig = require('./mock/webpack.bad-export');
Expand Down

0 comments on commit 058b557

Please sign in to comment.