1 | "use strict";
|
2 | var _this = this;
|
3 | Object.defineProperty(exports, "__esModule", { value: true });
|
4 | var tslib_1 = require("tslib");
|
5 | var ava_1 = tslib_1.__importDefault(require("ava"));
|
6 | var index_1 = require("../index");
|
7 | var TestApp = (function (_super) {
|
8 | tslib_1.__extends(TestApp, _super);
|
9 | function TestApp() {
|
10 | return _super.call(this) || this;
|
11 | }
|
12 | Object.defineProperty(TestApp.prototype, "getConf", {
|
13 | get: function () {
|
14 | return this.conf;
|
15 | },
|
16 | enumerable: true,
|
17 | configurable: true
|
18 | });
|
19 | return TestApp;
|
20 | }(index_1.App));
|
21 | ava_1.default('Initialization App without crashes', function (t) { return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
22 | var app;
|
23 | return tslib_1.__generator(this, function (_a) {
|
24 | app = new TestApp();
|
25 | t.is(app.getConf.prefix, 'merry-plugin-');
|
26 | return [2 ];
|
27 | });
|
28 | }); });
|
29 |
|
\ | No newline at end of file |