* chore(package): update jasmine to version 3.0.0 Closes #4547 * Fixes failing tests for jasmine 3.0 Starting 3.0, done(something) will fail * Update tests so they dont leverage var, but let and const With jasmine 3.0, the randomization engine was making the test fails because of the scope of `var` * Remove randomizer * Use same adapter for PG tests, drop table to ensure the tests dont side effect
35 lines
731 B
JSON
35 lines
731 B
JSON
{
|
|
"env": {
|
|
"jasmine": true
|
|
},
|
|
"globals": {
|
|
"Parse": true,
|
|
"reconfigureServer": true,
|
|
"createTestUser": true,
|
|
"jfail": true,
|
|
"ok": true,
|
|
"strictEqual": true,
|
|
"TestObject": true,
|
|
"Item": true,
|
|
"Container": true,
|
|
"equal": true,
|
|
"notEqual": true,
|
|
"it_only_db": true,
|
|
"it_exclude_dbs": true,
|
|
"describe_only_db": true,
|
|
"describe_only": true,
|
|
"on_db": true,
|
|
"defaultConfiguration": true,
|
|
"expectSuccess": true,
|
|
"range": true,
|
|
"expectError": true,
|
|
"jequal": true,
|
|
"create": true,
|
|
"arrayContains": true
|
|
},
|
|
"rules": {
|
|
"no-console": [0],
|
|
"no-var": "error"
|
|
}
|
|
}
|