Skip to content

Commit 9a6ac15

Browse files
Update test/utils/sample.test.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 6a7e6a9 commit 9a6ac15

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎test/utils/sample.test.ts‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
2-
import { loadSampleText, selectSampleFiles } from '../../src/utils/sample';
2+
import * as path from 'path';
33
import * as fs from 'fs';
4+
import { loadSampleText, selectSampleFiles } from '../../src/utils/sample';
45

56
describe('loadSampleText', () => {
6-
const testDir = '/tmp/test-sample-files';
7+
const testDir = path.join(__dirname, '.test-sample-files');
78

89
beforeEach(() => {
910
// Create test files

0 commit comments

Comments
 (0)