chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
@@ -41,11 +41,7 @@ describe("runtime overrides", () => {
|
||||
});
|
||||
|
||||
it("rejects prototype pollution paths", () => {
|
||||
const attempts = [
|
||||
"__proto__.polluted",
|
||||
"constructor.polluted",
|
||||
"prototype.polluted",
|
||||
];
|
||||
const attempts = ["__proto__.polluted", "constructor.polluted", "prototype.polluted"];
|
||||
for (const path of attempts) {
|
||||
const result = setConfigOverride(path, true);
|
||||
expect(result.ok).toBe(false);
|
||||
|
||||
Reference in New Issue
Block a user