Skip to content

Commit

Permalink
chore(language-tools): add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
enzonotario committed Nov 14, 2024
1 parent 6262661 commit ee9cd09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/language-tools/test/generate-esjs-syntax.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, it, expect } from 'vitest';
import fs from 'fs';
import fs from 'node:fs';
import '../src/index.js';

function readFile(path) {
Expand Down
4 changes: 1 addition & 3 deletions packages/language-tools/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import { defineConfig } from 'vitest/config';

export default defineConfig({
test: {
globals: true,
testTimeout: 5000,
include: ['test/**/*.test.js']
include: ['test/**/*.test.js'],
}
});

0 comments on commit ee9cd09

Please sign in to comment.