They are currently the same as in 55d60df (Quinta's last commit).
Error-level
- "[Vue warn]: Error in created hook (Promise/async): "TypeError: Cannot read properties of null (reading 'tables')"" and "TypeError: Cannot read properties of null (reading 'tables') at VueComponent.created (spoonbill-web/frontend/src/views/CustomizeTables.vue:74:27)" in
unit/views/CustomizeTables.spec.js
Commenting out store.dispatch = jest.fn(); in the "gets selections once created" test prevents the error message, but then the expect(router.push).toBeCalledTimes(1); expectation fails.
- 2x "Event { isTrusted: [Getter] }" in
unit/views/Download.spec.js
The three tests in Download.spec.js that log error messages are the only ones to interact with the component's subscribeOnChanges, scheduleFlattenGeneration (which calls subscribeOnChanges), and generateFile (which calls scheduleFlattenGeneration). The subscribeOnChanges function might be the cause; commenting out its setupConnection prevents the error messages, but then the test fails.
Warning-level
- 3x "[Vuetify] Unable to locate target [data-app]" across
unit/components/App/AppConfirmDialog.spec.js and unit/components/CustomizeTables/CustomizeDialog.spec.js
These warnings might be because the two components being tested are dialogs?
They are currently the same as in 55d60df (Quinta's last commit).
Error-level
unit/views/CustomizeTables.spec.jsCommenting out
store.dispatch = jest.fn();in the "gets selections once created" test prevents the error message, but then theexpect(router.push).toBeCalledTimes(1);expectation fails.unit/views/Download.spec.jsThe three tests in
Download.spec.jsthat log error messages are the only ones to interact with the component'ssubscribeOnChanges,scheduleFlattenGeneration(which callssubscribeOnChanges), andgenerateFile(which callsscheduleFlattenGeneration). ThesubscribeOnChangesfunction might be the cause; commenting out itssetupConnectionprevents the error messages, but then the test fails.Warning-level
unit/components/App/AppConfirmDialog.spec.jsandunit/components/CustomizeTables/CustomizeDialog.spec.jsThese warnings might be because the two components being tested are dialogs?