added typechecking for all ts files (#6466)
Fixes: #6436 Changes made: - Added typecheck step before twenty-ui build to check stories TS errors - Added a tsconfig.dev.json to add stories and tests to typecheking when in dev mode - Added tsconfig.dev.json to storybook dev command of twenty-ui to typecheck stories while developing - Fixed twenty-ui stories that were broken - Added a serve command to serve front build - Fixed unit test from another PR --------- Co-authored-by: Félix Malfait <felix.malfait@gmail.com> Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
committed by
GitHub
parent
12a657ce29
commit
be20a690b3
@ -9,10 +9,6 @@ describe('title-utils', () => {
|
||||
expect(getPageTitleFromPath('/invite/:workspaceInviteHash')).toBe('Invite');
|
||||
expect(getPageTitleFromPath('/create/workspace')).toBe('Create Workspace');
|
||||
expect(getPageTitleFromPath('/create/profile')).toBe('Create Profile');
|
||||
expect(getPageTitleFromPath('/tasks')).toBe('Tasks');
|
||||
expect(getPageTitleFromPath('/objects/opportunities')).toBe(
|
||||
'Opportunities',
|
||||
);
|
||||
expect(getPageTitleFromPath('/settings/objects/opportunities')).toBe(
|
||||
SettingsPageTitles.Objects,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user