+ it('Should get public settings', async function () {
+ const res = await getPublicSettings({ url: server.url, npmName: 'peertube-plugin-hello-world' })
+
+ const publicSettings = (res.body as PublicServerSetting).publicSettings
+
+ expect(Object.keys(publicSettings)).to.have.lengthOf(1)
+ expect(Object.keys(publicSettings)).to.deep.equal([ 'user-name' ])
+ expect(publicSettings['user-name']).to.be.null
+ })
+