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(utils): test utils getMigrationTableSchema #1061

Merged

Conversation

Shinigami92
Copy link
Collaborator

No description provided.

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

github-actions bot commented Apr 4, 2024

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 93.66% (🎯 90%)
⬆️ +0.02%
4480 / 4783
🟢 Statements 93.66% (🎯 90%)
⬆️ +0.02%
4480 / 4783
🟢 Functions 95% (🎯 90%)
🟰 ±0%
228 / 240
🟢 Branches 88.55% (🎯 85%)
⬆️ +0.50%
766 / 865
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/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 98.34% 90.9% 100% 98.34% 147-148, 160-162
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.87% 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 100% 100% 100% 100%
src/operations/views.ts 100% 95.55% 100% 100%
src/operations/viewsMaterialized.ts 100% 97.77% 100% 100%
src/utils/StringIdGenerator.ts 100% 100% 100% 100%
src/utils/createSchemalize.ts 100% 100% 100% 100%
src/utils/createTransformer.ts 100% 100% 100% 100%
src/utils/escapeValue.ts 100% 100% 100% 100%
src/utils/formatLines.ts 100% 100% 100% 100%
src/utils/formatParams.ts 100% 100% 100% 100%
src/utils/getMigrationTableSchema.ts 100% 100% 100% 100%
src/utils/getSchemas.ts 100% 100% 100% 100%
src/utils/identity.ts 100% 100% 100% 100%
src/utils/index.ts 100% 100% 100% 100%
src/utils/intersection.ts 100% 100% 100% 100%
src/utils/isPgLiteral.ts 100% 100% 100% 100%
src/utils/makeComment.ts 100% 50% 100% 100%
src/utils/quote.ts 100% 100% 100% 100%
src/utils/types.ts 100% 100% 100% 100%
Generated in workflow #299

@Shinigami92 Shinigami92 merged commit 11cbbf8 into main Apr 4, 2024
33 checks passed
@Shinigami92 Shinigami92 deleted the test/add-utils-getMigrationTableSchema-unit-tests branch April 4, 2024 11:43
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.

1 participant