Skip to content

Commit

Permalink
FIX linting & tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Mar 25, 2019
1 parent 21d466d commit d2d8d39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/links/src/react/components/link.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import addons from '@storybook/addons';

import { SELECT_STORY } from '@storybook/core-events';
import { mockChannel } from '../../preview.test';
import LinkTo from './link';
import LinkTo from './link.tsx';

jest.mock('@storybook/addons');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function integrityTest(integrityOptions, stories2snapsConverter) {
const possibleStoriesFiles = stories2snapsConverter.getPossibleStoriesFiles(fileName);
return !possibleStoriesFiles.some(fs.existsSync);
});
expect(abandonedStoryshots).toHaveLength(0);
expect(abandonedStoryshots.length).toBe(0);
});
});
}
Expand Down

0 comments on commit d2d8d39

Please sign in to comment.