mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-01-27 12:50:47 +03:00
update addFeatures
- add case_boilerplate - add grantFeature query
This commit is contained in:
16
test/case_boilerplate.txt
Normal file
16
test/case_boilerplate.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
const endpoint = "/api/endpoint";
|
||||
|
||||
const postTestEndpoint = () => client({
|
||||
method: "POST",
|
||||
url: endpoint,
|
||||
data: {
|
||||
}
|
||||
});
|
||||
|
||||
const cases = [
|
||||
"firstCase",
|
||||
"secondCase",
|
||||
"thirdCase"
|
||||
];
|
||||
const users = genUsers("endpoint", cases);
|
||||
const vipUser = genUser("endpoint", "vip");
|
||||
Reference in New Issue
Block a user