Skip to content

Commit

Permalink
test: Add comment related to #428
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Apr 7, 2022
1 parent cc9340d commit e31d021
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/tests/unit/views/Download.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ describe('Download.vue', () => {
expect(ApiService.createFlatten).toBeCalledTimes(1);
});

// The next three tests seem to cause the "Event { isTrusted: [Getter] }" console error messages.
// Defining connection.onclose in store/index.js just shows that the error code is 1006.
// https://github.com/open-contracting/spoonbill-web/issues/428
test("'scheduleFlattenGeneration' sends request to schedule flatten generation", async () => {
await store.dispatch('fetchSelections', 'test-id');
await wrapper.vm.scheduleFlattenGeneration('flatten id');
Expand Down

0 comments on commit e31d021

Please sign in to comment.