[ADF-5247] always enabled language picker (via extensions) (#1730)

* always enabled language picker

* fix tests

* update e2e tests

* fix aos plugin
This commit is contained in:
Denys Vuika
2020-10-15 08:57:04 +01:00
committed by GitHub
parent cfffde603c
commit 20f1752b48
25 changed files with 49 additions and 238 deletions

View File

@@ -483,24 +483,6 @@ describe('app.evaluators', () => {
});
});
describe('canShowLanguagePicker', () => {
it('should return true when property is true', () => {
const context: any = {
languagePicker: true
};
expect(app.canShowLanguagePicker(context)).toBe(true);
});
it('should return false when property is false', () => {
const context: any = {
languagePicker: false
};
expect(app.canShowLanguagePicker(context)).toBe(false);
});
});
describe('canShowLogout', () => {
it('should return false when `withCredentials` property is true', () => {
const context: any = {