Skip to content

Commit

Permalink
fix: fixes tests for windows (#1900)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethaasan committed Mar 14, 2024
1 parent d4d12ad commit 036c8bf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/generators/FileGenerators.spec.ts
Expand Up @@ -142,9 +142,7 @@ describe.each(generatorsToTest)(
.at(0)
.at(1);
expect(filePath).toMatch(expectedOutputDirPath);
expect(
filePath.replace(`${expectedOutputDirPath}/`, '')
).toMatchSnapshot();
expect(path.basename(filePath)).toMatchSnapshot();
expect(
(FileHelpers.writerToFileSystem as jest.Mock).mock.calls.at(0).at(2)
).toEqual(false);
Expand Down

0 comments on commit 036c8bf

Please sign in to comment.