File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 12
12
"scripts" : {
13
13
"start" : " turbo run start --parallel --scope='!next-starter'" ,
14
14
"dev" : " turbo run dev --parallel --scope='!next-starter'" ,
15
- "build" : " turbo run build" ,
16
- "storybook" : " turbo run storybook" ,
17
- "lint" : " turbo run lint --parallel" ,
18
- "format" : " turbo run format --parallel" ,
15
+ "build" : " turbo run build --scope='!next-starter' " ,
16
+ "storybook" : " turbo run storybook --scope='!next-starter' " ,
17
+ "lint" : " turbo run lint --parallel --scope='!next-starter' " ,
18
+ "format" : " turbo run format --parallel --scope='!next-starter' " ,
19
19
"test" : " turbo run test --parallel --scope='!next-starter'" ,
20
- "test:ci" : " turbo run test --concurrency=1" ,
21
- "test:watch" : " yarn test --watch" ,
20
+ "test:ci" : " turbo run test --concurrency=1 --scope='!next-starter' " ,
21
+ "test:watch" : " yarn test --watch --scope='!next-starter' " ,
22
22
"prepublishOnly" : " yarn build" ,
23
23
"postinstall" : " husky install"
24
24
},
Original file line number Diff line number Diff line change 29
29
"lint" : " prettier -c 'src/**/*'; eslint src --ext .ts,.tsx" ,
30
30
"format" : " prettier --write 'src/**/*'; eslint src --fix --ext .ts,.tsx" ,
31
31
"build" : " tsc --build tsconfig.json" ,
32
- "test" : " jest --coverage --passWithNoTests" ,
32
+ "test" : " jest --coverage --passWithNoTests --detectOpenHandles --forceExit " ,
33
33
"test:watch" : " yarn test --watch" ,
34
34
"prepublishOnly" : " yarn build"
35
35
},
Original file line number Diff line number Diff line change @@ -64,7 +64,8 @@ describe('CloudStream', () => {
64
64
65
65
describe ( 'Subscribe extra channel' , ( ) => {
66
66
it ( 'connect the server' , ( ) => {
67
- const cloudStream = CloudStream . connect ( 'pusher' , {
67
+ const mockConnector = new MockConnector ( ) ;
68
+ const cloudStream = CloudStream . connect ( mockConnector , {
68
69
channel : 'channel1' ,
69
70
config : {
70
71
appKey : 'test' ,
You can’t perform that action at this time.
0 commit comments