mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 11:36:58 +03:00
migrate to typescript
This commit is contained in:
committed by
Dainius Dauksevicius
parent
c462323dd5
commit
08d27265fc
8
test/cases/getSubmissionUUID.ts
Normal file
8
test/cases/getSubmissionUUID.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import {getSubmissionUUID} from '../../src/utils/getSubmissionUUID';
|
||||
import assert from 'assert';
|
||||
|
||||
describe('getSubmissionUUID', () => {
|
||||
it('Should return the hashed value', () => {
|
||||
assert.strictEqual(getSubmissionUUID('video001', 'sponsor', 'testuser001', 13.33337, 42.000001), '1d33d7016aa6482849019bd906d75c08fe6b815e64e823146df35f66c35612dd');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user