mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-06 21:03:47 +02:00
test: rename 'fixtures' to '__fixtures__' (#6474)
* test: rename 'fixutes' to '__fixtures__' * test: rename '__test' to '__tests__' * test: update snapshot
This commit is contained in:
parent
02186a2b20
commit
37be796aa8
16 changed files with 4 additions and 4 deletions
|
@ -14,7 +14,7 @@ import path from 'path';
|
|||
import mdx from 'remark-mdx';
|
||||
|
||||
const processFixture = async (name: string, options?: {sync?: boolean}) => {
|
||||
const filePath = path.join(__dirname, 'fixtures', `${name}.md`);
|
||||
const filePath = path.join(__dirname, '__fixtures__', `${name}.md`);
|
||||
const file = await vfile.read(filePath);
|
||||
const result = await remark()
|
||||
.use(mdx)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue