is-creatable-page.spec.ts 330 B

1234567891011
  1. import { describe, expect, it } from 'vitest';
  2. import { isCreatablePage } from './index';
  3. describe('isCreatablePage', () => {
  4. describe('should return true for valid page paths', () => {
  5. it.each(['/path/to/page'])('should return true for "%s"', (path) => {
  6. expect(isCreatablePage(path)).toBe(true);
  7. });
  8. });
  9. });