Skip to content

Commit b10990b

Browse files
authored
fix: always disconnect the session after a test run (#357)
1 parent c023314 commit b10990b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export function setupIntegrationTest(getUserConfig: () => UserConfig): Integrati
8484
});
8585

8686
afterEach(async () => {
87-
if (mcpServer && !mcpServer.session.connectedAtlasCluster) {
87+
if (mcpServer) {
8888
await mcpServer.session.disconnect();
8989
}
9090
});

0 commit comments

Comments
 (0)