Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
  • Loading branch information
abbyhu2000 committed Oct 27, 2023
1 parent 1f8302d commit 9d0c4e5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ export default function ({ getService, getPageObjects }: PluginFunctionalProvide

it('server plugins have access to registered settings', async () => {
const result = await supertest.get('/api/ui-settings-plugin');
result.body['uiSettingsValue'] = Number(result.body['uiSettingsValue']);
expect(result.statusCode).to.be(200);
expect(result.body).to.be({ uiSettingsValue: 2 });
expect(Object.keys(result.body).length).to.be(1);
expect(Number(result.body.uiSettingsValue)).to.be(2);
});
});
}

0 comments on commit 9d0c4e5

Please sign in to comment.