Skip to content

Commit 8ef3ec4

Browse files
committed
fix: skip negative threads test if threads are not supported
1 parent 1193e97 commit 8ef3ec4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/native_errors.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe('Native LZMA Error Codes', () => {
5555
}).toThrow();
5656
});
5757

58-
it('should fail with negative threads', () => {
58+
it.skipIf(!lzma.hasThreads())('should fail with negative threads', () => {
5959
expect(() => {
6060
new lzma.Xz({
6161
check: lzma.check.CRC32,

0 commit comments

Comments
 (0)