import { map, string, number } from '../../../src'

export const Struct = map(string(), number())

export const data = new Map([
  ['a', 'a'],
  ['b', 'b'],
])

export const failures = [
  {
    value: 'a',
    type: 'number',
    refinement: undefined,
    path: ['a'],
    branch: [data, 'a'],
  },
  {
    value: 'b',
    type: 'number',
    refinement: undefined,
    path: ['b'],
    branch: [data, 'b'],
  },
]
