Skip to content

Commit

Permalink
fix: fixes tests for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethaasan committed Mar 14, 2024
1 parent d4d12ad commit b38648d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/generators/FileGenerators.spec.ts
Original file line number Diff line number Diff line change
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 b38648d

Please sign in to comment.