Options
All
  • Public
  • Public/Protected
  • All
Menu

Module utils/test-fabricators/test-fabricator

Index

Functions

testCw20Fabricator

  • testCw20Fabricator<T, FabricatorType>(expect: jest.Expect, fabricator: FabricatorType, input: T, expectedOutput: ReturnType<FabricatorType>): void
  • Type parameters

    • T

    • FabricatorType: (option: T) => Msg[]

    Parameters

    • expect: jest.Expect
    • fabricator: FabricatorType
    • input: T
    • expectedOutput: ReturnType<FabricatorType>

    Returns void

testFabricator

  • testFabricator<T, FabricatorType>(expect: jest.Expect, fabricator: FabricatorType, input: T, address_provider: AddressProvider, expectedOutput: ReturnType<ReturnType<FabricatorType>>): void