Skip to content

Commit

Permalink
Make sure coverage is 100%
Browse files Browse the repository at this point in the history
  • Loading branch information
bbenoist committed Aug 15, 2019
1 parent 62b9882 commit 9cfde75
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lib.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,12 @@ test("faUserAgent", () => {
return options;
});
expect(result).toEqual(expected2);
const userAgent3 =
"Mozilla/5.0 (C64 4.4; Oldie; rv:41.0) Gecko/41.0 Demo/41.0";
const expected3 = {
browser: { name: "fa-question", style: "fas" },
os: { name: "fa-question", style: "fas" },
platform: { name: "fa-question", style: "fas" }
};
expect(faUserAgent(userAgent3)).toEqual(expected3);
});

0 comments on commit 9cfde75

Please sign in to comment.