-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Closed
Labels
Description
Issue type:
[x] question
[ ] bug report
[ ] feature request
[ ] documentation issue
Database system/driver:
[ ] cordova
[ ] mongodb
[ ] mssql
[ ] mysql / mariadb
[ ] oracle
[ ] postgres
[x] sqlite
[ ] sqljs
[ ] react-native
[ ] expo
TypeORM version:
[x] latest
[ ] @next
[ ] 0.x.x (or put your version here)
Hi I am trying to run all tests with the sqlite database enabled.
However, it seems like only 11 tests are being executed, and no error message is displayed either. This is the output:
PS C:\Projects\typeorm> npm test
> [email protected] test C:\Projects\typeorm
> tsc && mocha --file ./build/compiled/test/utils/test-setup.js --bail --recursive --timeout 30000 ./build/compiled/test
benchmark > bulk-save > case1
√ testing bulk save of 10.000 objects
benchmark > bulk-save > case2
√ testing bulk save of 10000 objects
cascades > should insert by cascades from both sides (#57)
√ should insert by cascades from owner side (47ms)
columns > embedded columns
√ should insert / update / remove entity with embedded correctly (49ms)
√ should properly generate column names
columns > getters and setters
√ should not update columns marked with readonly property
columns > no-selection functionality
√ should not select columns marked with select: false option
√ should not select columns with QueryBuilder marked with select: false option
√ should select columns with select: false even columns were implicitly selected
columns > readonly functionality
√ should not update columns marked with readonly property
columns > value-transformer functionality
√ should marshal data using the provided value-transformer
Connection
before connection is established
11 passing (678ms)
1) "before all" hook
2) "after all" hook
It seems to stop when it would execute an mysql test, but mysql is disabled in my ormconfig.json:
[
{
"skip": true,
"name": "mysql",
"type": "mysql",
"host": "localhost",
"port": 3306,
"username": "test",
"password": "test",
"database": "test",
"logging": false
},
{
"skip": true,
"name": "mariadb",
"type": "mariadb",
"host": "localhost",
"port": 3307,
"username": "test",
"password": "test",
"database": "test",
"logging": false
},
{
"skip": false,
"name": "sqlite",
"type": "sqlite",
"database": "temp/sqlitedb.db",
"logging": false
},
{
"skip": true,
"name": "postgres",
"type": "postgres",
"host": "localhost",
"port": 5432,
"username": "test",
"password": "test",
"database": "test",
"logging": false
},
{
"skip": true,
"name": "mssql",
"type": "mssql",
"host": "localhost",
"username": "sa",
"password": "Admin12345",
"database": "tempdb",
"logging": false
},
{
"skip": true,
"name": "oracle",
"type": "oracle",
"host": "localhost",
"username": "system",
"password": "oracle",
"port": 1521,
"sid": "xe.oracle.docker",
"logging": false
},
{
"skip": true,
"disabledIfNotEnabledImplicitly": true,
"name": "mongodb",
"type": "mongodb",
"database": "test",
"logging": false
},
{
"skip": true,
"name": "sqljs",
"type": "sqljs",
"logging": false
}
]
What am I doing wrong?
Reactions are currently unavailable