UNPKG

@platform/ts

Version:

TypesScript build, prepare and publish toolchain.

11 lines (10 loc) 327 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var chai_1 = require("chai"); describe('my-test', function () { it('succeeds', function () { var list = [1, 2, 3]; var res = list.map(function (e) { return e + 1; }); (0, chai_1.expect)(res).to.eql([2, 3, 4]); }); });