Skip to content

getting error while executing consumer #1

Open
@chandrasekhaer

Description

@chandrasekhaer
  1. Pact with Order API
    "before all" hook in "Pact with Order API":
    Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (C:\contract-testing-nodejs-pact-master\consumer.
    spec.js)
    at listOnTimeout (internal/timers.js:554:17)
    at processTimers (internal/timers.js:497:7)

  2. Pact with Order API
    "after all" hook in "Pact with Order API":
    TypeError: Cannot read property 'writePact' of undefined
    at Pact.finalize (node_modules@pact-foundation\pact\httpPact.js:121:14)
    at Context. (consumer.spec.js:15:24)
    at processImmediate (internal/timers.js:461:21)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions