Skip to content

Commit

Permalink
Fix unit tests for navigate.spec.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JammingBen committed Oct 6, 2022
1 parent 0a04066 commit 87a98ef
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ describe('navigate', () => {
createLocationSpaces('files-spaces-generic', {
params: {
driveAliasAndItem: resource.driveAlias
}
},
query: {}
})
)
})
Expand All @@ -64,8 +65,8 @@ function getWrapper({ invalidLocation = false } = {}) {
},
$gettext: jest.fn(),
space: {
driveAlias: 'project/mars',
driveType: 'project'
driveType: 'project',
getDriveAliasAndItem: () => 'project/mars'
}
},
store: createStore(Vuex.Store, {
Expand Down

0 comments on commit 87a98ef

Please sign in to comment.