Commit bdbcf58a authored by Phil Hughes's avatar Phil Hughes

fixed Karam test because of event name change

parent c3dec96e
......@@ -95,7 +95,7 @@ describe('RepoFile', () => {
describe('methods', () => {
describe('linkClicked', () => {
it('$emits linkclicked with file obj', () => {
it('$emits fileNameClicked with file obj', () => {
spyOn(eventHub, '$emit');
const vm = createComponent({
......@@ -104,7 +104,7 @@ describe('RepoFile', () => {
vm.linkClicked(vm.file);
expect(eventHub.$emit).toHaveBeenCalledWith('linkclicked', vm.file);
expect(eventHub.$emit).toHaveBeenCalledWith('fileNameClicked', vm.file);
});
});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment