Download frontend/node_modules/array-includes/test/implementation.js from VinayRevanuru/Medical_Chat_App: direct link, hf CLI and curl.
- Browser
- Download file 637 Bytes
-
https://huggingface.co/VinayRevanuru/Medical_Chat_App/resolve/main/frontend/node_modules/array-includes/test/implementation.js
- Command line
-
hf download hf://VinayRevanuru/Medical_Chat_App/frontend/node_modules/array-includes/test/implementation.js
-
curl -L -o implementation.js https://huggingface.co/VinayRevanuru/Medical_Chat_App/resolve/main/frontend/node_modules/array-includes/test/implementation.js
637 Bytes
| ; | |
| 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(); | |
| }); | |