Plugin SDK: align allowFrom helper test input
This commit is contained in:
parent
d15a3d3454
commit
3b1be1a08c
@ -7,7 +7,7 @@ import {
|
||||
|
||||
describe("mapAllowFromEntries", () => {
|
||||
it("coerces allowFrom entries to strings", () => {
|
||||
expect(mapAllowFromEntries(["user", 42, null])).toEqual(["user", "42", "null"]);
|
||||
expect(mapAllowFromEntries(["user", 42])).toEqual(["user", "42"]);
|
||||
});
|
||||
|
||||
it("returns empty list for missing input", () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user