mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-30 23:08:54 +02:00
Prettify all JavaScript files (#964)
* Prettify all JavaScript files * Make trailingComma all * Delete v2/.prettierignore * Remove v2 Prettier commands in package.json
This commit is contained in:
parent
a1de6dab04
commit
9d4a5d5359
101 changed files with 441 additions and 473 deletions
|
@ -9,20 +9,20 @@ describe('loadPages', () => {
|
|||
expect(pagesMetadatas).toEqual([
|
||||
{
|
||||
path: '/',
|
||||
source: 'index.js'
|
||||
source: 'index.js',
|
||||
},
|
||||
{
|
||||
path: '/bar/baz',
|
||||
source: 'bar/baz.js'
|
||||
source: 'bar/baz.js',
|
||||
},
|
||||
{
|
||||
path: '/foo',
|
||||
source: 'foo.js'
|
||||
source: 'foo.js',
|
||||
},
|
||||
{
|
||||
path: '/foo/',
|
||||
source: 'foo/index.js'
|
||||
}
|
||||
source: 'foo/index.js',
|
||||
},
|
||||
]);
|
||||
expect(pagesMetadatas).not.toBeNull();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue