first commit

This commit is contained in:
Stefan Hacker
2026-04-03 09:38:48 +02:00
commit 37ad745546
47450 changed files with 3120798 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
define(["require", "exports", "./css"], function (require, exports, css_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
describe('css', function () {
it('can join classes', function () {
expect((0, css_1.css)('a', 'b', 'c')).toEqual('a b c');
});
it('can handle null/undefined/false/blanks', function () {
expect((0, css_1.css)('a', null, undefined, false, 'b', 'c')).toEqual('a b c');
});
it('can handle an object with a toString', function () {
expect((0, css_1.css)('a', { toString: function () { return 'b'; } }, 'c')).toEqual('a b c');
});
it('can handle a class map', function () {
expect((0, css_1.css)('a', { b: true, z: false }, 'c')).toEqual('a b c');
});
});
});
//# sourceMappingURL=css.test.js.map