Skip to content

Commit

Permalink
fix: Fix "path"-specific typing error
Browse files Browse the repository at this point in the history
  • Loading branch information
Iku-turso committed Apr 24, 2023
1 parent 50fa2d6 commit b670b36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/linkable/src/linkable.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import asyncFn from '@async-fn/jest';
import type { CreateLinks } from './create-links.injectable';
import { createLinksInjectable } from './create-links.injectable';
import { getPromiseStatus } from '@ogre-tools/test-utils';
import path from 'path';
import { posix } from 'path';
import type { Exists } from './shared/fs/exists.injectable';
import { existsInjectable } from './shared/fs/exists.injectable';
import type { ReadJsonFile } from './shared/fs/read-json-file.injectable';
Expand Down Expand Up @@ -43,7 +43,7 @@ describe('creation of "npm pack" -like symlinks', () => {
workingDirectoryInjectable,
() => '/some-directory/some-project',
);
di.override(resolvePathInjectable, () => path.posix.resolve);
di.override(resolvePathInjectable, () => posix.resolve);
di.override(existsInjectable, () => existsMock);
di.override(
readJsonFileWithoutErrorHandlingInjectable,
Expand Down

0 comments on commit b670b36

Please sign in to comment.