Skip to content

Commit

Permalink
test: update tests to match new utils
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re committed Dec 14, 2024
1 parent 0de9a2e commit 4c535a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/core/test/prompts/prompt.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { cursor } from 'sisteransi';
import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest';
import { default as Prompt, isCancel } from '../../src/prompts/prompt.js';
import { default as Prompt } from '../../src/prompts/prompt.js';
import { isCancel } from '../../src/utils/index.js';
import { MockReadable } from '../mock-readable.js';
import { MockWritable } from '../mock-writable.js';

Expand Down
2 changes: 1 addition & 1 deletion packages/core/test/utils.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Key } from 'node:readline';
import { cursor } from 'sisteransi';
import { afterEach, describe, expect, test, vi } from 'vitest';
import { block } from '../src/utils.js';
import { block } from '../src/utils/index.js';
import { MockReadable } from './mock-readable.js';
import { MockWritable } from './mock-writable.js';

Expand Down

0 comments on commit 4c535a1

Please sign in to comment.