Skip to content

Commit 0eb8b18

Browse files
committed
Fix up tests
1 parent 4274d57 commit 0eb8b18

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/generateFilePaths/this.test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ const PUBLISH_DIR = path.join(__dirname, 'publishDir');
66
const pluginCore = require('../../plugin/pluginCore.js');
77
test('generateFilePaths works', async () => {
88
const results = await pluginCore.generateFilePaths({
9-
fileAndDirPaths: ['/blog', '/about.html'],
109
absolutePublishDir: PUBLISH_DIR,
10+
fileAndDirPaths: ['/blog', '/about.html'],
11+
ignoreDirectories: [],
1112
});
1213
expect(results).toMatchSnapshot();
1314
});

tests/runPa11y/__snapshots__/this.test.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
exports[`runPa11y works 1`] = `
44
Object {
55
"issueCount": 1,
6-
"results": "
6+
"report": "
77
Results for URL: file:///Users/ej/projects/netlify-plugin-a11y/tests/runPa11y/publishDir/index.html
88
99
Error: Img element missing an alt attribute. Use the alt attribute to specify a short text alternative.

0 commit comments

Comments
 (0)