We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 119afad commit 7e54395Copy full SHA for 7e54395
index.test.js
@@ -45,7 +45,11 @@ describe(githubLoginIsInCodeowners, () => {
45
expect(ortaIn).toEqual(true);
46
});
47
test("denies other accounts", () => {
48
- const ortaIn = githubLoginIsInCodeowners("dogman", ".");
49
- expect(ortaIn).toEqual(false);
+ const noDogMan = githubLoginIsInCodeowners("dogman", ".");
+ expect(noDogMan).toEqual(false);
50
+ });
51
+ test("denies subsets of existing accounts", () => {
52
+ const noOrt = githubLoginIsInCodeowners("ort", ".");
53
+ expect(noOrt).toEqual(false);
54
55
})
0 commit comments