constCREATE_TABLE_TEST="CREATE TABLE IF NOT EXISTS test ("+"id INTEGER PRIMARY KEY AUTOINCREMENT, "+"name TEXT NOT NULL, "+"age INTEGER, "+"salary REAL, "+"blobType BLOB)";
constTAG='[RDB_JSKITS_TEST]'
constCREATE_TABLE_TEST='CREATE TABLE IF NOT EXISTS test ('+'id INTEGER PRIMARY KEY AUTOINCREMENT, '+'name TEXT NOT NULL, '+'age INTEGER, '+'salary REAL, '+'blobType BLOB)';
constSTORE_CONFIG={
name:"Delete.db",
name:'Delete.db',
}
varrdbStore=undefined;
letrdbStore=undefined;
describe('rdbStoreDeleteTest',function(){
beforeAll(function(){
...
...
@@ -36,65 +36,65 @@ describe('rdbStoreDeleteTest', function () {
afterEach(asyncfunction(){
console.info(TAG+'afterEach')
awaitrdbStore.executeSql("DELETE FROM test");
awaitrdbStore.executeSql('DELETE FROM test');
rdbStore=null
awaitdataRdb.deleteRdbStore("Delete.db");
awaitdataRdb.deleteRdbStore('Delete.db');
})
afterAll(asyncfunction(){
console.info(TAG+'afterAll')
})
console.log(TAG+"*************Unit Test Begin*************");
console.log(TAG+'*************Unit Test Begin*************');