Skip to content

Commit 8dbffc3

Browse files
committed
fix: validate tsc tests
1 parent 00ebd36 commit 8dbffc3

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

templates/javascript/tests/e2e/e2e.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// {{generationBanner}}
22
import { describe, test, expect } from 'vitest';
33

4-
import { union } from '../helpers';
4+
import { union } from '../helpers.js';
55

66
import * as dotenv from 'dotenv';
77

templates/javascript/tests/package.mustache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "javascript-tests",
3+
"type": "module",
34
"version": "1.0.0",
45
"scripts": {
56
"test": "tsc --noEmit && vitest run"

tests/output/javascript/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"extends": "../../../config/base.tsconfig.json",
33
"compilerOptions": {
4-
"skipLibCheck": true,
4+
"skipLibCheck": false,
55
"types": ["node"],
66
"lib": ["dom", "esnext"]
77
},

0 commit comments

Comments
 (0)