@ot-builder/common-impl
Advanced tools
+1
-1
@@ -5,3 +5,3 @@ { | ||
| { | ||
| "date": "Mon, 20 Apr 2020 06:40:47 GMT", | ||
| "date": "Mon, 20 Apr 2020 06:43:41 GMT", | ||
| "tag": "@ot-builder/common-impl_v0.10.5", | ||
@@ -8,0 +8,0 @@ "version": "0.10.5", |
+2
-2
| # Change Log - @ot-builder/common-impl | ||
| This log was last generated on Mon, 20 Apr 2020 06:40:47 GMT and should not be manually modified. | ||
| This log was last generated on Mon, 20 Apr 2020 06:43:41 GMT and should not be manually modified. | ||
@@ -9,3 +9,3 @@ <!-- Start content --> | ||
| Mon, 20 Apr 2020 06:40:47 GMT | ||
| Mon, 20 Apr 2020 06:43:41 GMT | ||
@@ -12,0 +12,0 @@ ### Patches |
+2
-2
| { | ||
| "name": "@ot-builder/common-impl", | ||
| "version": "0.10.5", | ||
| "version": "0.10.6", | ||
| "scripts": { | ||
@@ -20,3 +20,3 @@ "build": "tsc -b ./tsconfig.package.json", | ||
| "dependencies": { | ||
| "@ot-builder/prelude": "0.10.5", | ||
| "@ot-builder/prelude": "0.10.6", | ||
| "tslib": "^1.9.3" | ||
@@ -23,0 +23,0 @@ }, |
| export {}; | ||
| //# sourceMappingURL=index.test.d.ts.map |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| const index_1 = require("./index"); | ||
| test("Path map test", () => { | ||
| const map = new index_1.PathMapImpl(); | ||
| map.set([1, 2, 3], 1); | ||
| map.set([2, 3, 4], 2); | ||
| expect(map.get([])).toBe(undefined); | ||
| expect(map.get([1, 2, 3])).toBe(1); | ||
| expect(map.get([1, 2])).toBe(undefined); | ||
| expect(map.get([1, 2, 3, 4])).toBe(undefined); | ||
| expect(map.get([2, 3, 4])).toBe(2); | ||
| }); | ||
| //# sourceMappingURL=index.test.js.map |
20228
-5.44%25
-7.41%620
-2.21%+ Added
- Removed
Updated