Skip to content

Commit 6436b17

Browse files
committed
fix test
1 parent 5a5976d commit 6436b17

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

test/unit/apps/item/index-test.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ describe('item app', () => {
5151
http: {
5252
createServer: stub().returns({})
5353
},
54-
path: {
55-
resolve: stub().returnsArg(0),
56-
join: stub().returnsArg(0)
57-
},
5854
'fs-extra': {
5955
readFileSync: stub().returns(''),
6056
readJsonSync: stub().returns({
@@ -144,7 +140,7 @@ describe('item app', () => {
144140
it('calls webpackConfig', () => {
145141
assert.calledWith(
146142
deps['../common'].webpackConfig,
147-
[dirs.root, dirs.controllers].map(mod.modules),
143+
[dirs.root, dirs.controllers],
148144
dirs.root,
149145
match.object,
150146
'item.entry.js',

0 commit comments

Comments
 (0)