UNPKG

325 BJavaScriptView Raw
1
2import { parse, compose } from './';
3
4it('should pass', () => {
5 expect(true).toBe(true);
6});
7
8it('should parse to object and back to original string', () => {
9 let symbols = [
10 '𝠀','𝠀𝪛𝪡','𝠀𝪛','𝠀𝪡'
11 ];
12 symbols.map((test) => {
13 expect(compose(parse(test))).toBe(test);
14 })
15})
\No newline at end of file