New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snapshotLocation 100% not working #1580

Closed
jedmao opened this Issue Nov 7, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@jedmao
Contributor

jedmao commented Nov 7, 2017

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

novemberborn added a commit that referenced this issue Nov 8, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment