Currently we use test/integration/fixtures.ts to setup Draupnir for each integration test, and the tests themselves have no way to change the config, because by the time they get control, a Draupnir has already been created for them. This is complicated in part by Mocha.
As of writing there is only one test that does this which is the acceptInvitesFromSpace test. Which we are now going to need to remove, since we have moved the "joinOnInvite" logic to a protection here. It sucks quite a lot that we have to remove this.
Currently we use
test/integration/fixtures.ts
to setup Draupnir for each integration test, and the tests themselves have no way to change the config, because by the time they get control, a Draupnir has already been created for them. This is complicated in part by Mocha.As of writing there is only one test that does this which is the acceptInvitesFromSpace test. Which we are now going to need to remove, since we have moved the "joinOnInvite" logic to a protection here. It sucks quite a lot that we have to remove this.