diff --git a/.eslintrc.cjs b/.eslintrc.cjs index b4384bb..0bc552f 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -27,7 +27,7 @@ module.exports = { }, }, { - files: ['test.js'], + files: ['jest.setup.js', '__tests__/**/*.js'], env: { jest: true, }, diff --git a/test.js b/__tests__/plugin-test.js similarity index 99% rename from test.js rename to __tests__/plugin-test.js index 19cf7f5..67686a5 100644 --- a/test.js +++ b/__tests__/plugin-test.js @@ -3,7 +3,7 @@ import path from 'path'; import { createRequire } from 'module'; import tmp from 'tmp'; import { factory, runTasks } from 'release-it/test/util'; -import Plugin from './index.js'; +import Plugin from '../index.js'; const EDITOR = process.env.EDITOR || null; const PATH = process.env.PATH;