Skip to content

Commit

Permalink
fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
nytai committed Dec 17, 2020
1 parent 070af5f commit 50e518e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('LastUpdated', () => {

it('renders the base component (no refres)', () => {
const wrapper = mount(<LastUpdated updatedAt={updatedAt} />);
expect(/^Last Updated .* 12:00:00 AM$/.test(wrapper.text())).toBe(true);
expect(/^Last Updated .+$/.test(wrapper.text())).toBe(true);
});

it('renders a refresh action', () => {
Expand Down

0 comments on commit 50e518e

Please sign in to comment.