Skip to content

Commit

Permalink
no need for the whole path
Browse files Browse the repository at this point in the history
  • Loading branch information
snirsh committed Aug 1, 2024
1 parent aa088a5 commit 56b3d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vitePlugin/vite-plugin.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('Carmi Vite Plugin', () => {
jest.clearAllMocks();
});

const getCarmiTestFile = async (plugin, mockCode) => await plugin.transform.call(mockPluginContext, mockCode, '/home/runner/work/carmi/carmi/src/vitePlugin/test.carmi.js');
const getCarmiTestFile = async (plugin, mockCode) => await plugin.transform.call(mockPluginContext, mockCode, './src/vitePlugin/test.carmi.js');

it('transforms .carmi.js files', async () => {
const plugin = vitePlugin();
Expand Down

0 comments on commit 56b3d2a

Please sign in to comment.