Skip to content
This repository was archived by the owner on Nov 3, 2020. It is now read-only.
This repository was archived by the owner on Nov 3, 2020. It is now read-only.

Create provider to return machine-id and appMode values #1087

@beausmith

Description

@beausmith

Maybe getMachineInfo() returns { id: 7, mode: 'mark+print' }

Or…{ id: 7, mark: true, print: false }

AppSetupErrors.test.tsx returns three of the following errors which are calls to /machine-id.

console.error node_modules/jest-environment-jsdom/node_modules/jsdom/lib/jsdom/virtual-console.js:29
      Error: Error: connect ECONNREFUSED 127.0.0.1:80

See errors https://app.circleci.com/jobs/github/votingworks/bmd/2302/parallel-runs/0/steps/0-106 from PR: #1050

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions