File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -245,7 +245,7 @@ describe('PackageURL', () => {
245245
246246 it ( 'readonly: cannot be written' , ( ) => {
247247 expect ( ( ) => {
248- // @ts -expect-error Testing runtime immutability.
248+ // @ts -ignore Testing runtime immutability.
249249 PackageURL . KnownQualifierNames = { foo : 'bar' }
250250 } ) . toThrow ( TypeError )
251251 expect ( PackageURL . KnownQualifierNames ) . not . toStrictEqual ( {
@@ -255,10 +255,10 @@ describe('PackageURL', () => {
255255
256256 it ( 'frozen: cannot be modified' , ( ) => {
257257 expect ( ( ) => {
258- // @ts -expect-error Testing runtime immutability.
258+ // @ts -ignore Testing runtime immutability.
259259 PackageURL . KnownQualifierNames . foo = 'bar'
260260 } ) . toThrow ( TypeError )
261- // @ts -expect-error Testing runtime immutability.
261+ // @ts -ignore Testing runtime immutability.
262262 expect ( PackageURL . KnownQualifierNames . foo ) . toBe ( undefined )
263263 } )
264264 } )
You can’t perform that action at this time.
0 commit comments