Skip to content

Commit

Permalink
chore(ts): add js extension for nodenext path resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
devsheva committed Sep 3, 2024
1 parent f1928df commit 2c21997
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion spec/base.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, expectTypeOf, it } from 'vitest'
import Base from '../src/base'
import Base from '../src/base.ts'

describe('base', () => {
it('has a logger property', () => {
Expand Down
4 changes: 2 additions & 2 deletions spec/logger.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { describe, expect, it } from 'vitest'
import Base from '../src/base'
import { loggerDecorator } from '../src/logger'
import Base from '../src/base.js'
import { loggerDecorator } from '../src/logger.js'

describe('logger', () => {
it('has a logger property', () => {
Expand Down
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
console.log('hello')

0 comments on commit 2c21997

Please sign in to comment.