Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add types unit tests #1042

Merged
merged 1 commit into from Mar 18, 2024
Merged

test: add types unit tests #1042

merged 1 commit into from Mar 18, 2024

Conversation

Shinigami92
Copy link
Collaborator

No description provided.

@Shinigami92 Shinigami92 added this to the v7.0 milestone Mar 18, 2024
@Shinigami92 Shinigami92 self-assigned this Mar 18, 2024
Copy link

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 86.91% (🎯 70%)
⬆️ +0.64%
4098 / 4715
🟢 Statements 86.91% (🎯 70%)
⬆️ +0.64%
4098 / 4715
🟢 Functions 83.75% (🎯 75%)
⬆️ +1.67%
201 / 240
🟢 Branches 85.46% (🎯 83%)
⬆️ +0.33%
641 / 750
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Unchanged Files
src/db.ts 87.87% 88.46% 87.5% 87.87% 66-68, 97, 100-112, 152-154
src/index.ts 100% 100% 100% 100%
src/migration-builder.ts 97.38% 92.3% 87.5% 97.38% 330-334, 461-466, 490-491
src/migration.ts 78.26% 78.04% 58.33% 78.26% 65, 69, 72-80, 110-112, 117-153, 210-211, 236-239, 247-248, 265-268, 297-298
src/runner.ts 74.43% 58.18% 80% 74.43% 42, 69-70, 79-80, 84-91, 129-130, 169-172, 181-185, 198, 203-215, 234, 236-242, 245, 258, 270-283, 286-289, 299-300, 309-311, 320, 322-331, 343-350
src/sqlMigration.ts 92% 100% 80% 92% 47-50
src/types.ts 100% 100% 100% 100%
src/utils.ts 96.81% 88.5% 100% 96.81% 115, 133, 206-207, 210-211, 218-219
src/operations/PgLiteral.ts 86.66% 100% 50% 86.66% 13-14
src/operations/domains.ts 100% 100% 100% 100%
src/operations/extensions.ts 100% 100% 100% 100%
src/operations/functions.ts 100% 100% 100% 100%
src/operations/indexes.ts 94.15% 91.22% 100% 94.15% 21, 31-34, 43, 72, 121-122
src/operations/operators.ts 76.56% 95% 79.16% 76.56% 142-162, 168-179, 188-199, 253-272, 275-280
src/operations/other.ts 100% 100% 100% 100%
src/operations/policies.ts 100% 94.44% 100% 100%
src/operations/roles.ts 97.2% 77.27% 100% 97.2% 57, 63, 70, 77
src/operations/schemas.ts 100% 100% 100% 100%
src/operations/sequences.ts 92.42% 82.85% 100% 92.42% 32, 34-35, 40-41, 54-55, 60-61, 109
src/operations/tables.ts 89.89% 83.76% 96.66% 89.89% 64-65, 68-69, 120-124, 149, 153-154, 173-174, 199-200, 203-210, 213-214, 353-378, 417-421, 436, 446-447, 552, 561-569
src/operations/triggers.ts 92.66% 78.78% 100% 92.66% 59-60, 72-73, 76-77, 80-83, 124
src/operations/types.ts 67.59% 100% 65% 67.59% 70-79, 86-95, 104-109, 114-127, 149-158, 161, 168-173, 176
src/operations/views.ts 54.37% 50% 58.33% 54.37% 27-31, 35-42, 71, 85-118, 125-144, 151-155
src/operations/viewsMaterialized.ts 42.93% 100% 37.5% 42.93% 24, 28-39, 45-52, 61-86, 97-134, 143-147, 158-167, 170, 179-186
Generated in workflow #164

@Shinigami92 Shinigami92 merged commit 7eeb273 into main Mar 18, 2024
33 checks passed
@Shinigami92 Shinigami92 deleted the test/add-types-unit-tests branch March 18, 2024 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant