Skip to content

Commit 20de044

Browse files
committed
Merge remote-tracking branch 'origin/bobtest' into mergeTest
2 parents b2f0750 + 41d716a commit 20de044

File tree

1 file changed

+17
-2
lines changed

1 file changed

+17
-2
lines changed

test/wallet/list/listActions2.test.ts

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//@ts-nocheck
12
import * as bsv from '@bsv/sdk'
23
import { sdk, StorageProvider } from '../../../src/index.client'
34
import {
@@ -18,6 +19,7 @@ describe('listActions single action tests', () => {
1819
let setups: { setup: TestSetup2; storage: StorageProvider }[] = []
1920

2021
const env = _tu.getEnv('test')
22+
const testName = () => expect.getState().currentTestName || 'test'
2123

2224
beforeEach(async () => {
2325
setups = []
@@ -33,7 +35,14 @@ describe('listActions single action tests', () => {
3335
if (env.runMySQL) {
3436
ctxs.push(await _tu.createLegacyWalletMySQLCopy(testName))
3537
}
36-
ctxs.push(await _tu.createLegacyWalletSQLiteCopy(testName))
38+
await _tu.createSQLiteTestWallet({
39+
chain: 'test',
40+
databaseName: testName(),
41+
rootKeyHex: '2'.repeat(64),
42+
dropAll: true
43+
})
44+
45+
//ctxs.push(await _tu.createLegacyWalletSQLiteCopy(testName))
3746

3847
const mockData: MockData = {
3948
actions: [
@@ -1194,6 +1203,7 @@ describe('listActions two action tests', () => {
11941203
let setups: { setup: TestSetup2; storage: StorageProvider }[] = []
11951204

11961205
const env = _tu.getEnv('test')
1206+
const testName = () => expect.getState().currentTestName || 'test'
11971207

11981208
beforeEach(async () => {
11991209
setups = []
@@ -1209,7 +1219,12 @@ describe('listActions two action tests', () => {
12091219
if (env.runMySQL) {
12101220
ctxs.push(await _tu.createLegacyWalletMySQLCopy(testName))
12111221
}
1212-
ctxs.push(await _tu.createLegacyWalletSQLiteCopy(testName))
1222+
await _tu.createSQLiteTestWallet({
1223+
chain: 'test',
1224+
databaseName: testName(),
1225+
rootKeyHex: '2'.repeat(64),
1226+
dropAll: true
1227+
})
12131228

12141229
const mockData: MockData = {
12151230
actions: [

0 commit comments

Comments
 (0)