Skip to content

Commit

Permalink
Fix unit test error
Browse files Browse the repository at this point in the history
  • Loading branch information
Simran-B committed Dec 11, 2020
1 parent 4afc7d4 commit d565a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ describe('Page class', () => {

describe('platform specific content', () => {
test('page.defaultPlatform frontmatter', async () => {
const page = new Page({
const page = await Page.init({
relativePath: 'actions/hosting-your-own-runners/configuring-the-self-hosted-runner-application-as-a-service.md',
basePath: path.join(__dirname, '../../content'),
languageCode: 'en'
Expand Down

0 comments on commit d565a13

Please sign in to comment.