chore: Apply linting fixes

This commit is contained in:
Bouncey
2019-02-16 08:20:53 +00:00
committed by mrugesh mohapatra
parent a63b84e748
commit 8e0237d042
16 changed files with 95 additions and 51 deletions

View File

@ -43,13 +43,21 @@ describe('fcc-create-nav-data', () => {
expect(result.dashedName).equal('file-writing');
});
it('node.path should equal the file path from pagesDir, prefixed with `/guide`', () => {
expect(result.path).to.equal('/guide/php/functions/files/file-writing');
});
it(
'node.path should equal the file path from pagesDir, ' +
'prefixed with `/guide`',
() => {
expect(result.path).to.equal('/guide/php/functions/files/file-writing');
}
);
it('node.parentPath should equal the path of the parent page, prefixed with `/guide`', () => {
expect(result.parentPath).to.equal('/guide/php/functions/files');
});
it(
'node.parentPath should equal the path of the parent page, ' +
'prefixed with `/guide`',
() => {
expect(result.parentPath).to.equal('/guide/php/functions/files');
}
);
it('node.title should equal srcNode.frontmatter.title', () => {
expect(result.title).to.equal(mockNode.frontmatter.title);