File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4646 "test:debug" : " TZ=utc NODE_OPTIONS='--inspect-brk --experimental-vm-modules' jest --runInBand" ,
4747 "perf-test" : " NODE_OPTIONS=--experimental-vm-modules npx reassure" ,
4848 "typecheck" : " NODE_OPTIONS=--max_old_space_size=8192 tsc" ,
49- "lint" : " NODE_OPTIONS=--max_old_space_size=8192 eslint . --max-warnings=320 --cache --cache-location=node_modules/.cache/eslint" ,
49+ "lint" : " NODE_OPTIONS=--max_old_space_size=8192 eslint . --max-warnings=319 --cache --cache-location=node_modules/.cache/eslint" ,
5050 "lint-changed" : " NODE_OPTIONS=--max_old_space_size=8192 ./scripts/lintChanged.sh" ,
5151 "lint-watch" : " npx eslint-watch --watch --changed" ,
5252 "shellcheck" : " ./scripts/shellCheck.sh" ,
Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ import ONYXKEYS from '@src/ONYXKEYS';
44// Once we get the sidebar loaded end mark we know that the app is ready to be used:
55export default function waitForAppLoaded ( ) : Promise < void > {
66 return new Promise ( ( resolve ) => {
7- const connection = Onyx . connect ( {
7+ // We have used `connectWithoutView` here because it is not connected to any UI
8+ const connection = Onyx . connectWithoutView ( {
89 key : ONYXKEYS . IS_SIDEBAR_LOADED ,
910 callback : ( isSidebarLoaded ) => {
1011 if ( ! isSidebarLoaded ) {
You can’t perform that action at this time.
0 commit comments