UNPKG

@sentry/wizard

Version:

Sentry wizard helping you to configure your project

31 lines 1.38 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var Env_1 = require("../Helper/Env"); describe('read-env', function () { test('transform', function () { // @ts-ignore: true not assignable to string/undefined process.env.SENTRY_WIZARD_DEBUG = true; // @ts-ignore: true not assignable to string/undefined process.env.SENTRY_WIZARD_UNINSTALL = false; // @ts-ignore: true not assignable to string/undefined process.env.SENTRY_WIZARD_SKIP_CONNECT = true; // @ts-ignore: true not assignable to string/undefined process.env.SENTRY_WIZARD_QUIET = true; // @ts-ignore: true not assignable to string/undefined process.env.SENTRY_WIZARD_INTEGRATION = ['reactNative', 'electron']; // @ts-ignore: true not assignable to string/undefined process.env.SENTRY_WIZARD_PLATFORM = ['ios', 'android']; // @ts-ignore: true not assignable to string/undefined process.env.SENTRY_WIZARD_URL = 'https://sentry.io'; expect((0, Env_1.readEnvironment)()).toEqual({ debug: true, integration: 'reactNative,electron', platform: 'ios,android', quiet: true, skipConnect: true, uninstall: false, url: 'https://sentry.io', }); }); }); //# sourceMappingURL=Env.js.map