Files
NapCatQQ/.pnpm-store/v3/files/a6/86c7890dcef3dc79e7d2820d757f143c3ed688298236529173bfe8fb2dde2900b51f61a152e5a4f6a8562441d6fdddb0a3bf9ea38ede24a2022c75fddc91d8
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

18 lines
424 B
Plaintext

'use strict';
var values = require('../');
var test = require('tape');
var runTests = require('./tests');
test('as a function', function (t) {
t.test('bad array/this value', function (st) {
st['throws'](function () { values(undefined); }, TypeError, 'undefined is not an object');
st['throws'](function () { values(null); }, TypeError, 'null is not an object');
st.end();
});
runTests(values, t);
t.end();
});