CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes48downloads
index.js18 linesDownload Raw Back to test
1'use strict';2 3var assign = require('../');4var test = require('tape');5var runTests = require('./tests');6 7test('as a function', function (t) {8	t.test('bad array/this value', function (st) {9		st['throws'](function () { assign(undefined); }, TypeError, 'undefined is not an object');10		st['throws'](function () { assign(null); }, TypeError, 'null is not an object');11		st.end();12	});13 14	runTests(assign, t);15 16	t.end();17});18 
basant307/AI_Governance_Project · CoolFace