Skip to content

Commit

Permalink
test: back with the URI; realpath the cases path
Browse files Browse the repository at this point in the history
  • Loading branch information
AviVahl committed May 27, 2024
1 parent 09da3bb commit 4f6081d
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ import { Stylable } from '@stylable/core';
import { safeParse } from '@stylable/core/dist/index-internal';
import { StylableLanguageService } from '@stylable/language-service';

export const CASES_PATH = path.join(
path.dirname(require.resolve('@stylable/language-service/package.json')),
'test/fixtures/server-cases'
export const CASES_PATH = fs.realpathSync.native(
path.join(
path.dirname(require.resolve('@stylable/language-service/package.json')),
'test/fixtures/server-cases'
)
);

function requireModule(request: string) {
Expand Down

0 comments on commit 4f6081d

Please sign in to comment.