import Knex from 'knex' ; import { DBAdmin } from '../../db-admin/db-admin' ; import { SigningWallet } from '../../models/signing-wallet' ; import { alice , bob } from '../../engine/__test__/fixtures/signing-wallets' ; export async function seedAlicesSigningWallet ( knex ) { await DBAdmin . truncateDataBaseFromKnex ( knex ) ; await SigningWallet . query ( knex ) . insert ( alice ( ) ) ; } export async function seedBobsSigningWallet ( knex ) { await DBAdmin . truncateDataBaseFromKnex ( knex ) ; await SigningWallet . query ( knex ) . insert ( [ bob ( ) ] ) ; } export const seed = seedAlicesSigningWallet ;