permission-react: clean up unneeded 'as const' in test suite
Signed-off-by: MT Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
@@ -29,7 +29,7 @@ const mockUsePermission = usePermission as jest.MockedFunction<
|
||||
|
||||
const permission = createPermission({
|
||||
name: 'access.something',
|
||||
attributes: { action: 'read' as const },
|
||||
attributes: { action: 'read' },
|
||||
});
|
||||
|
||||
describe('PermissionedRoute', () => {
|
||||
|
||||
Reference in New Issue
Block a user