Skip to content

Commit 1c0f76c

Browse files
committed
Chore(tests): remove profile validation test from validate-options
1 parent 734cdaa commit 1c0f76c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/validate-options.test.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ describe('#validateOptions()', () => {
1313
medium: 'braille',
1414
warningLevel: 1,
1515
timeout: 1000,
16-
profile: 'css3svg',
1716
})
1817
).not.toThrow();
1918
});
@@ -36,9 +35,4 @@ describe('#validateOptions()', () => {
3635
expect(() => validateOptions({ timeout: Infinity })).toThrow('The timeout must be an integer');
3736
expect(() => validateOptions({ timeout: 400.1 })).toThrow('The timeout must be an integer');
3837
});
39-
40-
it('Complains about invalid profile', async () => {
41-
// @ts-expect-error: We're trying to force an error here
42-
expect(() => validateOptions({ profile: 'fake' })).toThrow('The profile must be one of the following:');
43-
});
4438
});

0 commit comments

Comments
 (0)