Skip to content

Commit dda2e87

Browse files
committed
cleanup spec case
1 parent db86eb0 commit dda2e87

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Toast/__snapshots__/withToast.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3-
exports[`test withToast it can create a new Toast message 1`] = `
3+
exports[`withToast() can create a new Toast message 1`] = `
44
[
55
<div
66
className="Alert Alert-success"

src/Toast/withToast.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ function WrappedComponent() {
1616
return <div />;
1717
}
1818

19-
describe('test withToast', () => {
20-
test('it can create a new Toast message', async () => {
19+
describe('withToast()', () => {
20+
it('can create a new Toast message', async () => {
2121
const newMessage = 'This is just a test...';
2222
const ComponentWithToast = withToast(WrappedComponent);
2323
const toast = create(<ComponentWithToast />);

0 commit comments

Comments
 (0)