mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
shared-code-percent
This commit is contained in:
7
test/common/libs/splitWhitespace.test.js
Normal file
7
test/common/libs/splitWhitespace.test.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import splitWhitespace from '../../../common/script/libs/splitWhitespace';
|
||||
|
||||
describe('splitWhitespace', () => {
|
||||
it('returns an array', () => {
|
||||
expect(splitWhitespace('a b')).to.eql(['a', 'b']);
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user