Skip to content
Permalink
Browse files

- fix folder for snapshots

:goose:
  • Loading branch information...
maZahaca committed Nov 30, 2018
1 parent 936cc31 commit f4c275617c3e87f84d516e30003d21e715f347a8
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/integration/actions/actions.test.js
@@ -646,7 +646,7 @@ describe('Actions', () => {
html: `<span>snapshot</span>`,
});
const parser = new Parser({
environment: new ChromeEnvironment({ url, snapshot: true }),
environment: new ChromeEnvironment({ url, snapshot: true, snapshotDir: '/tmp' }),
});
await parser.parse({
actions: [
@@ -657,7 +657,7 @@ describe('Actions', () => {
],
});

const filePath = './snapshots/localhost/test.png';
const filePath = '/tmp/localhost/test.png';
const snapshotExists = await fileExists(filePath);
expect(snapshotExists).toEqual(true);
await removeFile(filePath);

0 comments on commit f4c2756

Please sign in to comment.
You can’t perform that action at this time.