UNPKG

@btfuse/core

Version:

A native-first framework for building hybdrid web-native applications

35 lines (32 loc) 1.49 kB
"use strict"; /* Copyright 2023 Breautek Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.FuseTestContextBuilder = void 0; const FuseContextBuilder_1 = require("../FuseContextBuilder"); const FuseTestAPIFactory_1 = require("./FuseTestAPIFactory"); const FuseTestContextFactory_1 = require("./FuseTestContextFactory"); const FuseTestPlatformResolver_1 = require("./FuseTestPlatformResolver"); class FuseTestContextBuilder extends FuseContextBuilder_1.FuseContextBuilder { constructor() { super(); this.setPlatformResolver(new FuseTestPlatformResolver_1.FuseTestPlataformResolver()) .setAPIFactory(new FuseTestAPIFactory_1.FuseTestAPIFactory()) .setContextFactory(new FuseTestContextFactory_1.FuseTestContextFactory()); } async _isDebugMode(context) { return true; } } exports.FuseTestContextBuilder = FuseTestContextBuilder; //# sourceMappingURL=FuseTestContextBuilder.js.map