Skip to content

Commit ebfb2c6

Browse files
committed
chore: positions of test cases
1 parent 2338f99 commit ebfb2c6

File tree

20 files changed

+6
-6
lines changed

20 files changed

+6
-6
lines changed

β€Žpackages/@vuepress/core/__tests__/plugin-api/AsyncOption.spec.js renamed to β€Žpackages/@vuepress/core/lib/node/__tests__/plugin-api/AsyncOption.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const AsyncOption = require('../../lib/plugin-api/abstract/AsyncOption')
1+
const AsyncOption = require('../../plugin-api/abstract/AsyncOption')
22

33
describe('AsyncOption', () => {
44
test('parallelApply', async () => {

β€Žpackages/@vuepress/core/__tests__/plugin-api/Option.spec.js renamed to β€Žpackages/@vuepress/core/lib/node/__tests__/plugin-api/Option.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Option from '../../lib/plugin-api/abstract/Option'
1+
import Option from '../../plugin-api/abstract/Option'
22

33
describe('Option', () => {
44
test('key', () => {

β€Žpackages/@vuepress/core/__tests__/plugin-api/PluginAPI.spec.js renamed to β€Žpackages/@vuepress/core/lib/node/__tests__/plugin-api/PluginAPI.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ jest.mock('vuepress-plugin-a')
22
jest.mock('vuepress-plugin-b')
33
jest.mock('@org/vuepress-plugin-a')
44

5-
import PluginAPI from '../../lib/plugin-api/index'
6-
import { PLUGIN_OPTION_MAP } from '../../lib/plugin-api/constants'
5+
import PluginAPI from '../../plugin-api/index'
6+
import { PLUGIN_OPTION_MAP } from '../../plugin-api/constants'
77

88
describe('Plugin', () => {
99
test('registerOption', () => {

β€Žpackages/@vuepress/core/__tests__/plugin-api/PluginUtil.spec.js renamed to β€Žpackages/@vuepress/core/lib/node/__tests__/plugin-api/PluginUtil.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { flattenPlugin } from '../../lib/plugin-api/util'
1+
import { flattenPlugin } from '../../plugin-api/util'
22

33
describe('flattenPlugin', () => {
44
test('should hydrate plugin correctly', () => {

β€Žpackages/@vuepress/core/__tests__/prepare/util.js renamed to β€Žpackages/@vuepress/core/lib/node/__tests__/prepare/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const { fs, path } = require('@vuepress/shared-utils')
22
const AppContext = require('../../lib/prepare/AppContext')
3-
const createMarkdown = require('../../../markdown/index')
3+
const createMarkdown = require('../../../../../markdown/index')
44

55
function getAppContext () {
66
return new AppContext('.')

0 commit comments

Comments
Β (0)