Skip to content

snapshotLocation 100% not working #1580

@jednano

Description

@jednano

Description

The snapshotLocation option appears to NOT be working at all. The snapshot and markdown files appear right next to the source files, regardless of my snapshotLocation value.

Test Source

test('parses a section', t => {
    t.snapshot(Section.parse('[s]'))
})

Config

{
  "ava": {
    "files": [
      "dist/**/*.test.js"
    ],
    "snapshotLocation": "snapshots",
    "source": [
      "dist/**/*.js",
      "src/fixtures/**"
    ]
  }
}

Command-Line Arguments

{
  "scripts": {
    "build:watch": "tsc -p tsconfig.test.json --watch",
    "watch": "ava --watch"
  }
}

Relevant Links

Environment

  • Windows 10 (win32 10.0.16299)
  • Node.js v9.0.0
  • npm 5.5.1
  • ava 0.23.0

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