Skip to content

refactor: remove test utils and validator bindings for now #536

refactor: remove test utils and validator bindings for now

refactor: remove test utils and validator bindings for now #536

Triggered via push September 19, 2023 10:37
Status Failure
Total duration 2m 0s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

test.yml

on: push
Matrix: test-mssql
Matrix: test-mysql
Matrix: test-postgres
Matrix: test-sqlite
Fit to window
Zoom out
Zoom in

Annotations

34 errors
test-sqlite (better_sqlite, 20)
Process completed with exit code 1.
test-sqlite (better_sqlite, 18)
Process completed with exit code 1.
test-sqlite (sqlite, 18)
Process completed with exit code 1.
test-sqlite (sqlite, 20)
Process completed with exit code 1.
test-postgres (18, 11)
Process completed with exit code 1.
test-postgres (20, 14)
Process completed with exit code 1.
test-postgres (18, 14)
Process completed with exit code 1.
typecheck: src/database/paginator/simple_paginator.ts#L12
Cannot find module '../../Orm/naming_strategies/snake_case.js' or its corresponding type declarations.
typecheck: test/orm/base_model.spec.ts#L5651
Property 'ModelQueryBuilder' does not exist on type 'Database'.
typecheck: test/orm/base_model.spec.ts#L5652
'this' implicitly has type 'any' because it does not have a type annotation.
typecheck: test/orm/base_model.spec.ts#L5653
'this' implicitly has type 'any' because it does not have a type annotation.
typecheck: test/orm/base_model.spec.ts#L5657
Element implicitly has an 'any' type because expression of type '"whereActive"' can't be used to index type 'ModelQueryBuilderContract<typeof User, User>'.
typecheck: test/orm/base_model.spec.ts#L5694
Property 'withId' does not exist on type 'InsertQueryBuilderContract<any[]>'.
typecheck: test/orm/base_model.spec.ts#L5699
Property 'InsertQueryBuilder' does not exist on type 'Database'.
typecheck: test/orm/model_many_to_many.spec.ts#L87
Element implicitly has an 'any' type because expression of type '"localKeyColumnName"' can't be used to index type 'ManyToManyRelationContract<LucidModel, typeof Skill>'.
typecheck: test/orm/model_many_to_many.spec.ts#L117
Element implicitly has an 'any' type because expression of type '"localKeyColumnName"' can't be used to index type 'ManyToManyRelationContract<LucidModel, typeof Skill>'.
typecheck
Process completed with exit code 2.
test-mysql (8.0, mysql, 20)
Process completed with exit code 1.
test-mssql (18)
Process completed with exit code 1.
test-mysql (5.7, mysql_legacy, 18)
Process completed with exit code 1.
lint: test-helpers/index.ts#L19
Replace `·ConnectionConfig,·ConnectionContract,·DatabaseConfig,·QueryClientContract·` with `⏎··ConnectionConfig,⏎··ConnectionContract,⏎··DatabaseConfig,⏎··QueryClientContract,⏎`
lint: test/orm/base_model.spec.ts#L404
Public accessibility modifier on set property accessor username
lint: test/orm/base_model.spec.ts#L464
Public accessibility modifier on get property accessor username
lint: test/orm/base_model.spec.ts#L524
Public accessibility modifier on get property accessor id
lint: test/orm/base_model.spec.ts#L548
Public accessibility modifier on get property accessor id
lint: test/orm/base_model.spec.ts#L576
Public accessibility modifier on get property accessor preferences
lint: test/orm/base_model.spec.ts#L581
Public accessibility modifier on set property accessor preferences
lint: test/orm/base_model.spec.ts#L785
Public accessibility modifier on class property isDirty
lint: test/orm/base_model.spec.ts#L799
Public accessibility modifier on class property location
lint
Process completed with exit code 1.
test-postgres (20, 11)
Process completed with exit code 1.
test-mssql (20)
Process completed with exit code 1.
test-mysql (8.0, mysql, 18)
Process completed with exit code 1.
test-mysql (5.7, mysql_legacy, 20)
Process completed with exit code 1.