From 6512a0dda4e66bbb0df0045d921ea8e2648d12dd Mon Sep 17 00:00:00 2001 From: Rod Johnson Date: Wed, 17 Jul 2019 12:47:02 +1000 Subject: [PATCH] Fix test --- test/features/license.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/features/license.test.ts b/test/features/license.test.ts index a88044dd..ed4adadc 100644 --- a/test/features/license.test.ts +++ b/test/features/license.test.ts @@ -26,14 +26,14 @@ describe("license aspect", () => { const p = InMemoryProject.of(); const fp = await License.extract(p) as FP; assert(!!fp.data); - assert.deepStrictEqual(fp.data, { classification: "None", content: undefined }); + assert.deepStrictEqual(fp.data, { classification: "None", content: undefined, path: undefined }); }); it("should find Apache license", async () => { const p = InMemoryProject.of({ path: "LICENSE", content: asl }); const fp = await License.extract(p) as FP; assert(!!fp.data); - assert.deepStrictEqual(fp.data, { classification: "Apache License", content: asl }); + assert.deepStrictEqual(fp.data, { classification: "Apache License", content: asl, path: "LICENSE" }); }); });