Skip to content

Commit 917f1d6

Browse files
committed
fix absolute path handling
1 parent a4de4d1 commit 917f1d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/code-analyzer-core/test/suppressions/bulk-suppression-workspace-root.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ describe('Bulk Suppressions - Workspace Root Path Resolution (Bug #2)', () => {
343343
*
344344
* Expected: 5 total violations suppressed (3 + 2), not 3 with shared quota
345345
*/
346-
const workspaceRoot = path.join(path.sep, 'Users', 'user', 'workspace');
346+
const workspaceRoot = createTestAbsolutePath('Users', 'user', 'workspace');
347347
const filePath = path.join(workspaceRoot, 'force-app', 'utils.js');
348348

349349
// Create 6 violations that would match the duplicate selectors

0 commit comments

Comments
 (0)