Update ESLint-related packages
R=jacktfranklin@chromium.org
No-Presubmit: True
Bug: none
Change-Id: I52dc24b12e350787085c5e3d131cface7ea87142
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3060705
Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org>
Reviewed-by: Paul Lewis <aerotwist@chromium.org>
diff --git a/node_modules/array-includes/test/implementation.js b/node_modules/array-includes/test/implementation.js
new file mode 100644
index 0000000..7fdf95b
--- /dev/null
+++ b/node_modules/array-includes/test/implementation.js
@@ -0,0 +1,20 @@
+'use strict';
+
+var implementation = require('../implementation');
+var callBind = require('call-bind');
+var test = require('tape');
+var hasStrictMode = require('has-strict-mode')();
+var runTests = require('./tests');
+
+test('as a function', function (t) {
+ t.test('bad array/this value', { skip: !hasStrictMode }, function (st) {
+ /* eslint no-useless-call: 0 */
+ st['throws'](function () { implementation.call(undefined); }, TypeError, 'undefined is not an object');
+ st['throws'](function () { implementation.call(null); }, TypeError, 'null is not an object');
+ st.end();
+ });
+
+ runTests(callBind(implementation), t);
+
+ t.end();
+});