Skip to content

Commit

Permalink
Potential fix for test failing on macOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
la-we committed Aug 28, 2024
1 parent f45d360 commit b2f7765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tests/io/VideoCapture.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ if (toTest.io && !process.env.DOCKER_BUILD && !process.env.BINDINGS_DEBUG) {

describe('constructor with specified caps', () => {
it(`should throw when using wrong caps and valid video file ${path.resolve(getTestVideoPath())}`, () => {
expect(() => new cv.VideoCapture(getTestVideoPath(), cv.CAP_AVFOUNDATION)).to.throw();
expect(() => new cv.VideoCapture(getTestVideoPath(), cv.CAP_FIREWIRE)).to.throw();
});
});

Expand Down

0 comments on commit b2f7765

Please sign in to comment.