UNPKG

@shko.online/componentframework-mock

Version:

Mocking library to help with testing PowerApps Component Framework Components

21 lines (19 loc) 471 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ResourcesMock = void 0; var _sinon = require("sinon"); /* Copyright (c) 2022 Betim Beja and Shko Online LLC Licensed under the MIT license. */ class ResourcesMock { constructor() { this.getResource = void 0; this.getString = void 0; this.getResource = (0, _sinon.stub)(); this.getString = (0, _sinon.stub)(); } } exports.ResourcesMock = ResourcesMock;