mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2026-02-03 00:00:40 +03:00
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer into Dainius14/master
# Conflicts: # src/routes/shadowBanUser.js # src/routes/voteOnSponsorTime.ts # test/cases/getSkipSegments.js # test/cases/voteOnSponsorTime.js
This commit is contained in:
@@ -218,6 +218,7 @@ describe('voteOnSponsorTime', () => {
|
||||
});
|
||||
});
|
||||
|
||||
/** Test needs to be updated with new category vote limit
|
||||
it('Should be able to vote for a category and it should immediately change (for now)', (done: Done) => {
|
||||
request.get(getbaseURL()
|
||||
+ "/api/voteOnSponsorTime?userID=randomID2&UUID=vote-uuid-4&category=intro", null,
|
||||
@@ -235,6 +236,7 @@ describe('voteOnSponsorTime', () => {
|
||||
}
|
||||
});
|
||||
});
|
||||
*/
|
||||
|
||||
it('Should not able to change to an invalid category', (done: Done) => {
|
||||
request.get(getbaseURL()
|
||||
@@ -254,6 +256,7 @@ describe('voteOnSponsorTime', () => {
|
||||
});
|
||||
});
|
||||
|
||||
/** Test needs to be updated with new category vote limit
|
||||
it('Should be able to change your vote for a category and it should immediately change (for now)', (done: Done) => {
|
||||
request.get(getbaseURL()
|
||||
+ "/api/voteOnSponsorTime?userID=randomID2&UUID=vote-uuid-4&category=outro", null,
|
||||
@@ -271,6 +274,7 @@ describe('voteOnSponsorTime', () => {
|
||||
}
|
||||
});
|
||||
});
|
||||
*/
|
||||
|
||||
|
||||
it('Should not be able to change your vote to an invalid category', (done: Done) => {
|
||||
|
||||
Reference in New Issue
Block a user