@@ -4,6 +4,7 @@ import { traverse } from '../src/parser/transforms.js';
44import { SourceCode } from 'eslint' ;
55import { visitorKeys as tsVisitors } from '@typescript-eslint/visitor-keys' ;
66import { visitorKeys as glimmerVisitorKeys } from '@glimmer/syntax' ;
7+ import path from 'node:path' ;
78
89describe ( 'transform' , ( ) => {
910 let text , result ;
@@ -2931,15 +2932,12 @@ export const NotFound = <template>
29312932
29322933 // Since we can't easily test the actual TypeScript sys modifications directly,
29332934 // we'll test that our file existence checks work correctly
2934- const testFilePath =
2935- '/Users/pwagenet/Development/OSS/Ember/ember-eslint-parser/tests/fixtures/api-client.gjs.d.ts' ;
2935+ const testFilePath = path . join ( __dirname , 'fixtures' , 'api-client.gjs.d.ts' ) ;
29362936 expect ( fs . existsSync ( testFilePath ) ) . toBe ( true ) ;
29372937
29382938 // Test that .gjs.d.ts files exist in our test fixtures
2939- const gjsDtsPath =
2940- '/Users/pwagenet/Development/OSS/Ember/ember-eslint-parser/tests/fixtures/api-client.gjs.d.ts' ;
2941- const gjsPath =
2942- '/Users/pwagenet/Development/OSS/Ember/ember-eslint-parser/tests/fixtures/api-client.gjs' ;
2939+ const gjsDtsPath = path . join ( __dirname , 'fixtures' , 'api-client.gjs.d.ts' ) ;
2940+ const gjsPath = path . join ( __dirname , 'fixtures' , 'api-client.gjs' ) ;
29432941
29442942 expect ( fs . existsSync ( gjsDtsPath ) ) . toBe ( true ) ;
29452943 expect ( fs . existsSync ( gjsPath ) ) . toBe ( true ) ;
0 commit comments