Skip to content

Commit 9924fff

Browse files
committed
test: verify channel migration changes
1 parent 3240aa7 commit 9924fff

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/commands/doctor/shared/channel-legacy-config-migrate.test.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,10 @@ describe("bundled channel legacy config migrations", () => {
160160
},
161161
},
162162
});
163-
expect(result.changes).toHaveLength(2);
164-
expect(result.changes).toContain(
163+
expect(result.changes).toStrictEqual([
165164
"Moved channels.mattermost.allowPrivateNetwork → channels.mattermost.network.dangerouslyAllowPrivateNetwork (true).",
166-
);
167-
expect(result.changes).toContain(
168165
"Moved channels.mattermost.accounts.work.allowPrivateNetwork → channels.mattermost.accounts.work.network.dangerouslyAllowPrivateNetwork (false).",
169-
);
166+
]);
170167
});
171168

172169
it("applies plugin doctor normalizers for configured non-channel plugin entries", () => {

0 commit comments

Comments
 (0)