We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b49ed67 commit 030d1f7Copy full SHA for 030d1f7
packages/glimmer-local-class-transform/src/runtime.test.ts
@@ -6,6 +6,7 @@ describe('Runtime helpers', () => {
6
expect(classNames({}, 'foo')).toBe('');
7
expect(classNames({ foo: 'bar' }, 'foo')).toBe('bar');
8
expect(classNames({ foo: 'bar' }, ' foo baz ')).toBe('bar');
9
+ expect(classNames({ foo: 'bar', baz: 'qux' }, ' foo baz ')).toBe('bar qux');
10
});
11
12
test('classNames with undefined or empty classes', () => {
0 commit comments