mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 23:45:44 +01:00
split lowlight languages out of the worker bundle
This commit is contained in:
@@ -9,7 +9,6 @@ const createNodeMock = (element: any) => {
|
||||
querySelector: (selector: string) => {}
|
||||
};
|
||||
}
|
||||
return null;
|
||||
};
|
||||
|
||||
initStoryshots({
|
||||
@@ -17,6 +16,7 @@ initStoryshots({
|
||||
// fix snapshot tests with react-diff-view which uses a ref on tr
|
||||
// @see https://github.com/storybookjs/storybook/pull/1090
|
||||
test: snapshotWithOptions({
|
||||
// @ts-ignore types seems not to match
|
||||
createNodeMock
|
||||
})
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user