Skip to content

Commit

Permalink
Merge pull request #302 from nrkno/fix/v-connection-dep
Browse files Browse the repository at this point in the history
fix: update v-connection dependency
  • Loading branch information
nytamin authored Nov 17, 2023
2 parents 2ad22ab + 8bcd69d commit aedb0c3
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 394 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"@sofie-automation/code-standard-preset": "~2.4.7",
"@types/jest": "^29.5.1",
"@types/node": "^16.18.31",
"@types/request": "^2.48.8",
"@types/sprintf-js": "^1.1.2",
"@types/underscore": "^1.11.4",
"@types/ws": "^7.4.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/timeline-state-resolver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"production"
],
"dependencies": {
"@tv2media/v-connection": "^7.3.0",
"@tv2media/v-connection": "^7.3.2",
"atem-connection": "2.5.0",
"atem-state": "0.13.0",
"casparcg-connection": "^6.0.6",
Expand Down
1 change: 1 addition & 0 deletions packages/timeline-state-resolver/src/__mocks__/got.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,5 @@ const got: any = async (url: string | Options, options?: Options) => {
Object.keys(gotMethods).forEach((key) => {
got[key] = gotMethods[key]
})
got.default = got
export default got
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { Response } from 'got'
const orgSetTimeout = setTimeout

describe('Panasonic PTZ', () => {
jest.mock('request', () => got)
jest.mock('got', () => got)

const mockTime = new MockTime()

Expand Down
Loading

0 comments on commit aedb0c3

Please sign in to comment.