import type { IsSeparator } from './separators.js' import { SEPARATOR_REGEX } from './separators.js' namespace TypeChecks { type test1 = Expect, false>> type test2 = Expect, false>> type test3 = Expect, false>> type test4 = Expect, false>> type test5 = Expect, true>> type test6 = Expect, true>> type test7 = Expect, true>> type test8 = Expect, true>> type test9 = Expect, true>> type test10 = Expect, boolean>> type test11 = Expect>, boolean>> } describe('SEPARATOR_REGEX', () => { test('dummy regex test', () => { expect(SEPARATOR_REGEX.test('[test]')).toEqual(true) expect(SEPARATOR_REGEX.test('te.st')).toEqual(true) expect(SEPARATOR_REGEX.test('te$st')).toEqual(false) expect(SEPARATOR_REGEX.test('test')).toEqual(false) }) })