зеркало из https://github.com/github/docs.git
Fix unit test error
This commit is contained in:
Родитель
4afc7d4035
Коммит
d565a13d8d
|
@ -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'
|
||||
|
|
Загрузка…
Ссылка в новой задаче