mirror of
https://github.com/zombieFox/nightTab.git
synced 2024-11-25 17:43:24 +01:00
7 lines
255 B
TypeScript
7 lines
255 B
TypeScript
import { makePath } from '../../src/utility/makePath';
|
|
|
|
test('makePath correctly parses the dot notation', () => {
|
|
const input = 'theme.accent.rgb.r';
|
|
const result = ['theme', 'accent', 'rgb', 'r'];
|
|
expect(makePath(input)).toStrictEqual(result);
|
|
}); |