Innovenergy_trunk/frontend/node_modules/testcafe/lib/test-run/observed-callsites-storage.js

19 lines
2.7 KiB
JavaScript
Raw Normal View History

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class ObservedCallsitesStorage {
constructor() {
this.callsitesWithoutAwait = new Set();
this.unawaitedSnapshotCallsites = new Set();
this.snapshotPropertyCallsites = {};
this.awaitedSnapshotWarnings = new Map();
}
clear() {
this.callsitesWithoutAwait = new Set();
this.unawaitedSnapshotCallsites = new Set();
this.snapshotPropertyCallsites = {};
this.awaitedSnapshotWarnings = new Map();
}
}
exports.default = ObservedCallsitesStorage;
module.exports = exports.default;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2JzZXJ2ZWQtY2FsbHNpdGVzLXN0b3JhZ2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvdGVzdC1ydW4vb2JzZXJ2ZWQtY2FsbHNpdGVzLXN0b3JhZ2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxNQUFxQix3QkFBd0I7SUFNekM7UUFDSSxJQUFJLENBQUMscUJBQXFCLEdBQVEsSUFBSSxHQUFHLEVBQUUsQ0FBQztRQUM1QyxJQUFJLENBQUMsMEJBQTBCLEdBQUcsSUFBSSxHQUFHLEVBQUUsQ0FBQztRQUM1QyxJQUFJLENBQUMseUJBQXlCLEdBQUksRUFBRSxDQUFDO1FBQ3JDLElBQUksQ0FBQyx1QkFBdUIsR0FBTSxJQUFJLEdBQUcsRUFBRSxDQUFDO0lBQ2hELENBQUM7SUFFTSxLQUFLO1FBQ1IsSUFBSSxDQUFDLHFCQUFxQixHQUFRLElBQUksR0FBRyxFQUFFLENBQUM7UUFDNUMsSUFBSSxDQUFDLDBCQUEwQixHQUFHLElBQUksR0FBRyxFQUFFLENBQUM7UUFDNUMsSUFBSSxDQUFDLHlCQUF5QixHQUFJLEVBQUUsQ0FBQztRQUNyQyxJQUF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