Skip to content

Using interfake as middleware for connect #6

@MartinKnopf

Description

@MartinKnopf

It would be nice to use interfake in a Grunt setup as a connect middleware like this:

  connect: {
    options: {
      port: 8080,
      hostname: 'localhost'
    },
    test: {
      options: {
        middleware: function (connect) {
          return [
            myInterfakeInstance.asMiddleware()
          ];
        }
      }
    }
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions