File: //usr/share/nodejs/fast-glob/out/utils/string.spec.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const assert = require("assert");
const util = require("./string");
describe('Utils → String', () => {
describe('.isString', () => {
it('should return true', () => {
const actual = util.isString('');
assert.ok(actual);
});
it('should return false', () => {
const actual = util.isString(undefined);
assert.ok(!actual);
});
});
describe('.isEmpty', () => {
it('should return true', () => {
const actual = util.isEmpty('');
assert.ok(actual);
});
it('should return false', () => {
const actual = util.isEmpty('string');
assert.ok(!actual);
});
});
});