You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
describe('conditionalClass',()=>{it('returns trueClass when true',()=>{expect(conditionalClass(true,'active','inactive')).toBe('active');});it('returns falseClass when false',()=>{expect(conditionalClass(false,'active','inactive')).toBe('inactive');});});
5
+
describe('joinClasses',()=>{it('joins valid classes',()=>{expect(joinClasses('foo','bar',false,null,'baz')).toBe('foo bar baz');});});
0 commit comments