Skip to content

Commit

Permalink
test: add exception for changes introduced in #946
Browse files Browse the repository at this point in the history
  • Loading branch information
porcellus committed Oct 27, 2024
1 parent 128437c commit c11fa71
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/userContext.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,11 @@ describe(`userContext: ${printPath("[test/userContext.test.js]")}`, function ()
shouldNotContain: ["userContext: Record<String, any>", "userContext?: UserContext"],
canContain: [{ text: "userContext?: Record<String, any>", count: 1 }],
},
{
fileName: "lib/ts/recipe/thirdparty/types.ts",
shouldNotContain: ["userContext: Record<String, any>", "userContext?: Record<String, any>"],
canContain: [{ text: "userContext?: UserContext", count: 4 }],
},
];

let fileExceptionFound = false;
Expand Down

0 comments on commit c11fa71

Please sign in to comment.