Skip to content

Commit ed58f0f

Browse files
committed
chore(tests): fix context unit test
1 parent eff9146 commit ed58f0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/__tests__/analytics.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ let restoreConsole: RestoreConsole = null!
1414

1515
const ctx = {
1616
library: {
17-
name: '',
18-
version: ''
17+
name: 'analytics-react-native',
18+
version: require('../../package.json').version
1919
}
2020
}
2121

0 commit comments

Comments
 (0)