source: frontend/node_modules/tsconfig-paths/lib/__tests__/match-path-sync.test.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 13 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 774 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3var match_path_sync_1 = require("../match-path-sync");
4var Tests = require("./data/match-path-data");
5describe("match-path-sync", function () {
6 Tests.tests.forEach(function (t) {
7 return it(t.name, function () {
8 var matchPath = (0, match_path_sync_1.createMatchPath)(t.absoluteBaseUrl, t.paths, t.mainFields, t.addMatchAll);
9 var result = matchPath(t.requestedModule, function (_) { return t.packageJson; }, function (name) { return t.existingFiles.indexOf(name) !== -1; }, t.extensions);
10 // assert.equal(result, t.expectedPath);
11 expect(result).toBe(t.expectedPath);
12 });
13 });
14});
15//# sourceMappingURL=match-path-sync.test.js.map
Note: See TracBrowser for help on using the repository browser.