Skip to content

Commit

Permalink
Use the new startTestShell
Browse files Browse the repository at this point in the history
  • Loading branch information
gagik committed Oct 4, 2024
1 parent e5d469b commit c119b1a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions packages/e2e-tests/test/e2e-current-op.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ import {
skipIfApiStrict,
startSharedTestServer,
} from '../../../testing/integration-testing-hooks';
import { TestShell } from './test-shell';
import type { TestShell } from './test-shell';

describe('e2e currentOp', function () {
skipIfApiStrict();
afterEach(TestShell.cleanup);

const testServer = startSharedTestServer();

Expand All @@ -20,10 +19,10 @@ describe('e2e currentOp', function () {
this.timeout(OPERATION_TIME * 2);

beforeEach(async function () {
helperShell = TestShell.start({
helperShell = this.startTestShell({
args: [await testServer.connectionString()],
});
currentOpShell = TestShell.start({
currentOpShell = this.startTestShell({
args: [await testServer.connectionString()],
});
await helperShell.waitForPrompt();
Expand Down

0 comments on commit c119b1a

Please sign in to comment.