Skip to content

Vue Warnings in HeaderActions component test

Actions
      ✓ lists actions correctly for a corpus when the user is not verified
      ✓ lists actions correctly for a corpus when the user is an instance admin
[vue-test-utils]: overwriting methods via the `methods` property is deprecated and will be removed in the next major version. There is no clear migration path for the `methods` property - Vue does not support arbitrarily replacement of methods, nor should VTU. To stub a complex method extract it from the component and test it in isolation. Otherwise, the suggestion is to rethink those tests.
      ✓ includes IIIF viewers for folders on public corpora
[vue-test-utils]: overwriting methods via the `methods` property is deprecated and will be removed in the next major version. There is no clear migration path for the `methods` property - Vue does not support arbitrarily replacement of methods, nor should VTU. To stub a complex method extract it from the component and test it in isolation. Otherwise, the suggestion is to rethink those tests.
      ✓ disables IIIF viewers for folders on private corpora

The test passes but those warnings are displayed on every run.