Skip to content

Commit 1b22c31

Browse files
author
David Emory
committed
test(util): Fix failing test
1 parent a022858 commit 1b22c31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: __tests__/util/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/* globals describe, expect, it */
22

3-
import util from '../../lib/util'
3+
import {addVectors} from '../../lib/util'
44

55
describe('util', () => {
66
it('addVectors should work', () => {
77
const vec1 = { x: 1, y: 2 }
88
const vec2 = { x: 3, y: 4 }
9-
expect(util.addVectors(vec1, vec2)).toEqual({ x: 4, y: 6 })
9+
expect(addVectors(vec1, vec2)).toEqual({ x: 4, y: 6 })
1010
})
1111
})

0 commit comments

Comments
 (0)