Skip to content

Commit 6736984

Browse files
committed
fixing tests
1 parent 65cbefc commit 6736984

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/specs/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import socket from 'src/main'
22

3-
const dft_response = [200, {'Content-Type': 'application/json'}, '[{"name": "Foobars", "slug": "foobar"}]']
3+
const dft_response = [200, {'Content-Type': 'application/json'}, '[{"name": "Foobars", "link": "foobar"}]']
44

55
describe('main.js', done => {
66
let server
@@ -52,7 +52,7 @@ describe('main.js', () => {
5252

5353
setTimeout(() => {
5454
expect(vm.error).to.equal(null)
55-
expect(vm.contractors).to.deep.equal([{name: 'Foobars', slug: 'foobar'}])
55+
expect(vm.contractors).to.deep.equal([{name: 'Foobars', link: 'foobar'}])
5656
done()
5757
}, 50)
5858
})

0 commit comments

Comments
 (0)