Skip to content

Commit

Permalink
test: resolve paths for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
webdeveric committed Aug 12, 2024
1 parent 3441955 commit 3b453ae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/utils/getEntryPointsFromExports.test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { resolve } from 'node:path';
import { Readable } from 'node:stream';

import { describe, expect, it } from 'vitest';
Expand Down Expand Up @@ -51,8 +52,8 @@ describe('getEntryPointsFromExports()', () => {
type: 'commonjs',
fileName: 'main.js',
relativePath: 'main.js',
directory: '/tmp',
resolvedPath: '/tmp/main.js',
directory: resolve('/tmp'),
resolvedPath: resolve('/tmp/main.js'),
subpath: '.',
condition: undefined,
itemPath: ['exports'],
Expand Down

0 comments on commit 3b453ae

Please sign in to comment.