mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2139] extra cookie availability check (#2865)
* extra cookie availability check * code style and test fixes * unit tests
This commit is contained in:
committed by
Eugenio Romano
parent
900fd70d63
commit
49456b3fcd
@@ -15,7 +15,9 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export class CookieServiceMock {
|
||||
import { CookieService } from '../services/cookie.service';
|
||||
|
||||
export class CookieServiceMock extends CookieService {
|
||||
|
||||
getItem(key: string): string | null {
|
||||
return this[key] && this[key].data || null;
|
||||
|
Reference in New Issue
Block a user