Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
test('it supports overriding base extensions', () => {
const originalParagraph = baseExtensions.find(({ extension: { name } }) => name === 'paragraph');
const Component: FC = () => {
const manager = useRemirrorManager();
expect(manager.extensions).not.toContain([originalParagraph]);
expect(
manager.extensions.find(({ options }) => {
return options.indentLevels && options.indentLevels[1] === 1;
}),
).toBeTruthy();
return null;
};
render(