UNPKG

@hkvstore/taco-cli

Version:

taco-cli is a command-line interface for rapid Apache Cordova development (forked from Microsoft taco-cli)

21 lines (19 loc) 1.03 kB
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for details. /// <reference path="../../typings/mocha.d.ts" /> /// <reference path="../../typings/tacoErrorTestHelper.d.ts" /> "use strict"; var path = require("path"); var resources = require("../resources/resourceManager"); var tacoTestUtils = require("taco-tests-utils"); var TacoErrorTestHelper = tacoTestUtils.TacoErrorTestHelper; describe("Taco Errors in TACO", function () { it("Verify TACO Errors in TACO", function () { TacoErrorTestHelper.verifyTacoErrors(path.join(__dirname, "../cli/tacoErrorCodes.js"), resources, 5000, 5999); }); it("Verify removed TACO Errors are not taken", function () { var excludeErrorCodes = [5001, 5002, 5003, 5015, 5016, 5454, 5455, 5535]; TacoErrorTestHelper.verifyExcludedTacoErrors(path.join(__dirname, "../cli/tacoErrorCodes.js"), resources, excludeErrorCodes); }); }); //# sourceMappingURL=tacoErrors.js.map