Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

fix for absolute file path in window #12

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open

Conversation

ccpu
Copy link

@ccpu ccpu commented Jan 13, 2020

fixes #11

@NewFuture
Copy link

@hardikmodha pls

@hardikmodha
Copy link
Owner

Thank you for your PR @cyrus-d. I've been busy with my day job a lot lately, didn't get much time to take a look.


const importPath = path.join(path.relative(testFileDir, sourceFileDir), moduleName);
const relativePath = path.relative(testFileDir, sourceFileDir);
const importPath = [relativePath, moduleName].join('/');
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need this change.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fail creating test: wrong absolute file path
3 participants