Skip to content

Commit ed763fd

Browse files
added test
1 parent a85b1a0 commit ed763fd

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import iconClass from './iconClass';
2+
import {expect} from 'chai';
3+
describe('iconClass', () => {
4+
it('should output bootstrap icon classes if iconset is bi', () => {
5+
const classOutput = iconClass('bi', 'remove', false);
6+
expect(classOutput).to.equal('bi bi-trash')
7+
});
8+
});

src/test.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
describe('First Test', () => {
22
it('Runs tests', (done) => {
33
done();
4-
})
4+
});
55
});
66

0 commit comments

Comments
 (0)