Skip to content

Commit d565a13

Browse files
committed
Fix unit test error
1 parent 4afc7d4 commit d565a13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/page.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@ describe('Page class', () => {
369369

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

0 commit comments

Comments
 (0)