You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
456 B
21 lines
456 B
4 years ago
|
'use strict'
|
||
|
|
||
|
module.exports = function (test, level, options) {
|
||
|
options = options || {}
|
||
|
|
||
|
require('./base-test')(test, level)
|
||
|
require('./db-values-test')(test, level, options.nonPersistent)
|
||
|
|
||
|
if (!options.skipErrorIfExistsTest) {
|
||
|
require('./error-if-exists-test')(test, level)
|
||
|
}
|
||
|
|
||
|
if (!options.skipRepairTest) {
|
||
|
require('./repair-test')(test, level)
|
||
|
}
|
||
|
|
||
|
if (!options.skipDestroyTest) {
|
||
|
require('./destroy-test')(test, level)
|
||
|
}
|
||
|
}
|