Skip to content

Commit 89b3573

Browse files
committed
Fix tests
1 parent 01ab0f2 commit 89b3573

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"scripts": {
1616
"build": "tsc",
1717
"test": "jest",
18-
"test:staged": "CI=true jest --env=jsdom --findRelatedTests",
18+
"test:staged": "CI=true jest --findRelatedTests",
1919
"version": "auto-changelog -p --template keepachangelog && git add CHANGELOG.md",
2020
"prepublishOnly": "git push && git push --tags && gh-release",
2121
"prepare": "husky install"

tests/generateFilePaths/this.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const path = require('path')
22

33
const PUBLISH_DIR = path.join(__dirname, 'publishDir')
44
// actual test
5-
const pluginCore = require('../../plugin/pluginCore.js')
5+
const pluginCore = require('../../src/pluginCore')
66
test('generateFilePaths works', async () => {
77
const results = await pluginCore.generateFilePaths({
88
absolutePublishDir: PUBLISH_DIR,

tests/runPa11y/this.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const path = require('path')
22

33
// actual test
4-
const pluginCore = require('../../plugin/pluginCore.js')
4+
const pluginCore = require('../../src/pluginCore')
55
test('runPa11y works', async () => {
66
const results = await pluginCore.runPa11y({
77
htmlFilePaths: [path.join(__dirname, 'publishDir/index.html')],

0 commit comments

Comments
 (0)