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 1212 "scripts" : {
1313 "start" : " turbo run start --parallel --scope='!next-starter'" ,
1414 "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' " ,
1919 "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' " ,
2222 "prepublishOnly" : " yarn build" ,
2323 "postinstall" : " husky install"
2424 },
Original file line number Diff line number Diff line change 2929 "lint" : " prettier -c 'src/**/*'; eslint src --ext .ts,.tsx" ,
3030 "format" : " prettier --write 'src/**/*'; eslint src --fix --ext .ts,.tsx" ,
3131 "build" : " tsc --build tsconfig.json" ,
32- "test" : " jest --coverage --passWithNoTests" ,
32+ "test" : " jest --coverage --passWithNoTests --detectOpenHandles --forceExit " ,
3333 "test:watch" : " yarn test --watch" ,
3434 "prepublishOnly" : " yarn build"
3535 },
Original file line number Diff line number Diff line change @@ -64,7 +64,8 @@ describe('CloudStream', () => {
6464
6565 describe ( 'Subscribe extra channel' , ( ) => {
6666 it ( 'connect the server' , ( ) => {
67- const cloudStream = CloudStream . connect ( 'pusher' , {
67+ const mockConnector = new MockConnector ( ) ;
68+ const cloudStream = CloudStream . connect ( mockConnector , {
6869 channel : 'channel1' ,
6970 config : {
7071 appKey : 'test' ,
You can’t perform that action at this time.
0 commit comments