Skip to content

Commit f8a5073

Browse files
committed
fix typo
1 parent 5fe7f90 commit f8a5073

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ coverage
66

77
# misc
88
.DS_Store
9-
.env*
9+
.env*
10+
.idea

src/__tests__/actions/__tests__/like.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe('Like', () => {
5454
expect(mockDebug).toBeCalledWith('Liking tweet with id: \'123\' ...');
5555
});
5656

57-
it('should run onSuccess if liking is successful and onSuccess is specifid', async() => {
57+
it('should run onSuccess if liking is successful and onSuccess is specified', async() => {
5858
expect.assertions(5);
5959

6060
twit.post = jest.fn()
@@ -80,7 +80,7 @@ describe('Like', () => {
8080
expect(onSuccess).toBeCalledWith(tweet);
8181
});
8282

83-
it('should not run onSuccess if liking is successful but onSuccess is not specifid', async() => {
83+
it('should not run onSuccess if liking is successful but onSuccess is not specified', async() => {
8484
expect.assertions(5);
8585

8686
twit.post = jest.fn()

src/__tests__/actions/__tests__/retweet.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe('Retweet', () => {
5454
expect(mockDebug).toBeCalledWith('Retweeting tweet with id: \'123\' ...');
5555
});
5656

57-
it('should run onSuccess if retweeting is successful and onSuccess is specifid', async() => {
57+
it('should run onSuccess if retweeting is successful and onSuccess is specified', async() => {
5858
expect.assertions(5);
5959

6060
twit.post = jest.fn()
@@ -80,7 +80,7 @@ describe('Retweet', () => {
8080
expect(onSuccess).toBeCalledWith(tweet);
8181
});
8282

83-
it('should not run onSuccess if retweeting is successful but onSuccess is not specifid', async() => {
83+
it('should not run onSuccess if retweeting is successful but onSuccess is not specified', async() => {
8484
expect.assertions(4);
8585

8686
twit.post = jest.fn()

0 commit comments

Comments
 (0)