Skip to content

Commit

Permalink
Add unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinNovak committed Oct 13, 2021
1 parent c2427bb commit cdd0fbf
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/unit/utils/string-utils.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import { expect } from 'chai';
import { StringUtils } from '../../../src/utils/';

describe('StringUtils', (): void => {
describe('#join()', (): void => {
it('Basic example', (): void => {
let myString = StringUtils.join(['One', 'Two', 'Three'], '\n');
expect(myString).to.equal('One\nTwo\nThree');
});
});
});

0 comments on commit cdd0fbf

Please sign in to comment.