UNPKG

askui

Version:

Reliable, automated end-to-end-testing that depends on what is shown on your screen instead of the technology you are running on

21 lines (20 loc) 649 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CacheEntryReference = void 0; const image_reference_1 = require("./image-reference"); class CacheEntryReference { constructor(image) { this.image = image; } static fromJson(json) { return new CacheEntryReference(json.image ? image_reference_1.ImageReference.fromJson(json.image) : undefined); } toJson() { const jsonObject = {}; if (this.image !== undefined) { jsonObject['image'] = this.image.toJson(); } return jsonObject; } } exports.CacheEntryReference = CacheEntryReference;