File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
src/__tests__/actions/__tests__ Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 6
6
7
7
# misc
8
8
.DS_Store
9
- .env *
9
+ .env *
10
+ .idea
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ describe('Like', () => {
54
54
expect ( mockDebug ) . toBeCalledWith ( 'Liking tweet with id: \'123\' ...' ) ;
55
55
} ) ;
56
56
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 ( ) => {
58
58
expect . assertions ( 5 ) ;
59
59
60
60
twit . post = jest . fn ( )
@@ -80,7 +80,7 @@ describe('Like', () => {
80
80
expect ( onSuccess ) . toBeCalledWith ( tweet ) ;
81
81
} ) ;
82
82
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 ( ) => {
84
84
expect . assertions ( 5 ) ;
85
85
86
86
twit . post = jest . fn ( )
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ describe('Retweet', () => {
54
54
expect ( mockDebug ) . toBeCalledWith ( 'Retweeting tweet with id: \'123\' ...' ) ;
55
55
} ) ;
56
56
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 ( ) => {
58
58
expect . assertions ( 5 ) ;
59
59
60
60
twit . post = jest . fn ( )
@@ -80,7 +80,7 @@ describe('Retweet', () => {
80
80
expect ( onSuccess ) . toBeCalledWith ( tweet ) ;
81
81
} ) ;
82
82
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 ( ) => {
84
84
expect . assertions ( 4 ) ;
85
85
86
86
twit . post = jest . fn ( )
You can’t perform that action at this time.
0 commit comments