Skip to content

Support Flag for copyToOverrrideDir #26

@blad

Description

@blad

In some instances we may want to copy the fixtures from the base cache directory to the override directory. A flag would be useful, so as fixtures get used from the base, they are copied to the override directory.

new Mockingjays().start({
  copyToOverrideDir: (request) -> request.host.indexOf('auth') < 0 // only copy fixtures not part of the auth host.
});
new Mockingjays().start({
  copyToOverrideDir: true // Copy all fixtures to override directory.
});

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions