Comparing version 1.0.250 to 1.0.251
@@ -29,5 +29,2 @@ "use strict"; | ||
test_database.db = await (0, integration_test_helpers_1.reset_test_database)(test_database.db, test_database_directory); | ||
await (0, database_adapters_1.sqlite3_adapter)(test_database.db)([ | ||
{ sql_string: 'PRAGMA foreign_keys = ON' } | ||
]); | ||
}); | ||
@@ -34,0 +31,0 @@ }; |
@@ -52,4 +52,7 @@ "use strict"; | ||
const new_database = await (0, exports.open_sqlite_database)(get_db_path(directory_path)); | ||
await (0, database_adapters_1.sqlite3_adapter)(new_database)([ | ||
{ sql_string: 'PRAGMA foreign_keys = ON' } | ||
]); | ||
return new_database; | ||
}; | ||
exports.reset_test_database = reset_test_database; |
@@ -8,3 +8,3 @@ "use strict"; | ||
const prepopulate_1 = require("./prepopulate"); | ||
mocha_1.describe.only('Prepopulate', () => { | ||
(0, mocha_1.describe)('Prepopulate', () => { | ||
(0, integration_setup_test_1.register_integration_test)(); | ||
@@ -11,0 +11,0 @@ (0, mocha_1.test)('Prepopulate without supercede', async () => { |
{ | ||
"name": "orma", | ||
"version": "1.0.250", | ||
"version": "1.0.251", | ||
"description": "A declarative relational syncronous orm", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -54,5 +54,2 @@ import { expect } from 'chai' | ||
) | ||
await sqlite3_adapter(test_database.db)([ | ||
{ sql_string: 'PRAGMA foreign_keys = ON' } | ||
]) | ||
}) | ||
@@ -59,0 +56,0 @@ } |
@@ -81,3 +81,6 @@ import * as sqlite3 from 'sqlite3' | ||
const new_database = await open_sqlite_database(get_db_path(directory_path)) | ||
await sqlite3_adapter(new_database)([ | ||
{ sql_string: 'PRAGMA foreign_keys = ON' } | ||
]) | ||
return new_database | ||
} |
@@ -16,3 +16,3 @@ import { expect } from 'chai' | ||
describe.only('Prepopulate', () => { | ||
describe('Prepopulate', () => { | ||
register_integration_test() | ||
@@ -19,0 +19,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1672875