mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-07 01:09:54 +08:00
feat(infra): route package (#10353)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { describe, expect, it } from 'vitest';
|
||||
|
||||
import { FACTORIES } from '../routes';
|
||||
|
||||
describe('PATH_FACTORIES', () => {
|
||||
it('should generate correct paths', () => {
|
||||
expect(
|
||||
FACTORIES.admin.settings.module({
|
||||
module: 'auth',
|
||||
})
|
||||
).toBe('/admin/settings/auth');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user