test: fix ci problem for plugin manifest validator

pull/90/head
moonrailgun 2 years ago
parent b9c829d024
commit b0194aee45

@ -25,18 +25,20 @@ describe('parsePluginManifest', () => {
false,
],
[
'not allow additional properties',
'allow i18n properties',
JSON.stringify({
label: '网页面板插件',
label: 'webpanel',
'label.zh-CN': '网页面板插件',
name: 'com.msgbyte.webview',
url: '/plugins/com.msgbyte.webview/index.js',
version: '0.0.0',
author: 'msgbyte',
description: '为群组提供创建网页面板的功能',
description: 'Provide groups with the ability to create web panels',
'description.zh-CN': '为群组提供创建网页面板的功能',
requireRestart: false,
foo: 'bar',
}),
false,
true,
],
[
'missed properties',

Loading…
Cancel
Save