Skip to content

Commit 7e40bb7

Browse files
authored
Update no-unnecessary-polyfills.mjs
1 parent 97c5997 commit 7e40bb7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/no-unnecessary-polyfills.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ test({
4949
options: [{nodeVersion: '>7'}],
5050
errors: [{message: 'Use the built-in `Array#from`.'}],
5151
},
52+
{
53+
code: 'require("core-js/features/typed-array")',
54+
options: [{nodeVersion: '>7'}],
55+
errors: [{message: 'Use the built-in `TypedArray`.'}],
56+
},
5257
{
5358
code: 'require("es6-symbol")',
5459
options: [{nodeVersion: '>7'}],

0 commit comments

Comments
 (0)