TenantAtlas/apps/platform/.pnpm-store/v10/files/86/50f32bbe3db6bb29bfc4614aa21e66d7a43b1508623b2e36e53b5a317d4ac2cc29737127198a9dc38349872063cea8a4022933d6d6359a66da10df636f2910
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

22 lines
679 B
Plaintext

'use strict';
var test = require('tape');
var hasSymbolToStringTag = require('../');
var runSymbolTests = require('./tests');
test('interface', function (t) {
t.equal(typeof hasSymbolToStringTag, 'function', 'is a function');
t.equal(typeof hasSymbolToStringTag(), 'boolean', 'returns a boolean');
t.end();
});
test('Symbol.toStringTag exists', { skip: !hasSymbolToStringTag() }, function (t) {
runSymbolTests(t);
t.end();
});
test('Symbol.toStringTag does not exist', { skip: hasSymbolToStringTag() }, function (t) {
t.equal(typeof Symbol === 'undefined' ? 'undefined' : typeof Symbol.toStringTag, 'undefined', 'global Symbol.toStringTag is undefined');
t.end();
});