Skip to content

Commit

Permalink
Unskip tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelBCarter committed Sep 24, 2024
1 parent 3deb5eb commit b4a2c09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ describe('BoundWitnessValidator', () => {
})
describe('returns true', () => {
const cases: [string, () => WalletInstance[]][] = [
['for no wallet', () => []],
['for single wallet', () => oneWallet],
['for multiple wallets', () => twoWallets],
['with no signer', () => []],
['with single signer', () => oneWallet],
['with multiple signer', () => twoWallets],
]
describe.each(cases)('%s when all sign', (_, signers) => {
let addresses: Address[]
beforeAll(() => {
addresses = signers().map(x => x.address)
})
it.skip('addresses empty', async () => {
it('addresses empty', async () => {
const all = signers()
const [bw] = await new BoundWitnessBuilder().signers(all).payload(payload).build()
expect(addressesContainsAll(bw, [])).toBeTrue()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ describe('BoundWitnessValidator', () => {
const [bw] = await new BoundWitnessBuilder().payload(payload).build()
expect(addressesContainsAny(bw, addresses)).toBeFalse()
})
it.only('with all signers but one', async () => {
it('with all signers but one', async () => {
const less = [...signers().slice(0, -1), await HDWallet.random()]
const [bw] = await new BoundWitnessBuilder().signers(less).payload(payload).build()
expect(addressesContainsAny(bw, addresses)).toBeFalse()
Expand Down

0 comments on commit b4a2c09

Please sign in to comment.