We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0601808 commit dad6c95Copy full SHA for dad6c95
packages/e2e-tests/test/e2e-editor.spec.ts
@@ -2,7 +2,8 @@ import { expect } from 'chai';
2
import path from 'path';
3
import { promises as fs } from 'fs';
4
import { eventually } from '../../../testing/eventually';
5
-import type { TestShell } from './test-shell';
+import { TestShell } from './test-shell';
6
+import { ensureTestShellAfterHook } from './test-shell-context';
7
import {
8
useTmpdir,
9
fakeExternalEditor,
@@ -41,7 +42,10 @@ describe('external editor e2e', function () {
41
42
);
43
});
44
45
+ ensureTestShellAfterHook('afterEach', this);
46
+
47
afterEach(async function () {
48
+ TestShell.assertNoOpenShells();
49
try {
50
await fs.rm(homedir, { recursive: true, force: true });
51
} catch (err: any) {
0 commit comments