mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 11:36:58 +03:00
8
test/cases/getSubmissionUUID.js
Normal file
8
test/cases/getSubmissionUUID.js
Normal file
@@ -0,0 +1,8 @@
|
||||
const getSubmissionUUID = require('../../src/utils/getSubmissionUUID.js');
|
||||
const assert = require('assert');
|
||||
|
||||
describe('getSubmissionUUID', () => {
|
||||
it('Should return the hashed value', () => {
|
||||
assert.equal(getSubmissionUUID('video001', 'sponsor', 'testuser001', 13.33337, 42.000001), '1d33d7016aa6482849019bd906d75c08fe6b815e64e823146df35f66c35612dd');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user