Skip to content

Commit

Permalink
Initialize UserGroup insert/update/delete work (#382)
Browse files Browse the repository at this point in the history
Co-authored-by: fzhao99 <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Feb 20, 2025
1 parent 36f4dd4 commit c2f06af
Show file tree
Hide file tree
Showing 5 changed files with 437 additions and 56 deletions.
9 changes: 8 additions & 1 deletion query-connector/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,14 @@ const customJestConfig = {
setupFilesAfterEnv: ["<rootDir>/jest.setup.ts"],
testEnvironment: "jest-fixed-jsdom",
modulePathIgnorePatterns: ["<rootDir>/.next/"],
moduleNameMapper: { "^@/(.*)$": "<rootDir>/src/$1" },
};

// createJestConfig is exported this way to ensure that next/jest can load the Next.js config which is async
module.exports = createJestConfig(customJestConfig);
/**
* Creates and exports Jest configuration.
* @returns The Jest configuration object.
*/
module.exports = async () => ({
...(await createJestConfig(customJestConfig)()),
});
102 changes: 51 additions & 51 deletions query-connector/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

1 comment on commit c2f06af

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report for ./query-connector

St.
Category Percentage Covered / Total
🔴 Statements 55.05% 1020/1853
🔴 Branches 53.78% 313/582
🔴 Functions 54.11% 204/377
🔴 Lines 55.11% 960/1742

Test suite run success

83 tests passing in 10 suites.

Report generated by 🧪jest coverage report action from c2f06af

Please sign in to comment.