Skip to content

Commit

Permalink
apply coderabbit suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
vishvamsinh28 committed Dec 26, 2024
1 parent b5cbb95 commit facaa13
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/dashboard/build-dashboard.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ describe('GitHub Discussions Processing', () => {

it('should handle write failures gracefully', async () => {

await expect(writeToFile).rejects.toThrow();
await expect(writeToFile()).rejects.toThrow();
});

});
2 changes: 1 addition & 1 deletion tests/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const buildCaseStudiesList = require('../scripts/casestudies');
const buildAdoptersList = require('../scripts/adopters');
const buildFinanceInfoList = require('../scripts/finance');
const start = require('../scripts/index');
const fs = require('fs')
const fs = require('fs');

jest.mock('../scripts/build-rss');
jest.mock('../scripts/build-post-list');
Expand Down

0 comments on commit facaa13

Please sign in to comment.