fix: add tests for enums
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import { FileStorageSite } from '../src/enums/FileStorageSite';
|
||||
import { expect } from 'chai';
|
||||
|
||||
describe('FileStorageSite', function () {
|
||||
describe('GoogleDrive', function () {
|
||||
it('should return the correct value', function () {
|
||||
const result = FileStorageSite.GoogleDrive;
|
||||
expect(result).to.equal('GoogleDrive');
|
||||
});
|
||||
});
|
||||
|
||||
describe('OneDrive', function () {
|
||||
it('should return the correct value', function () {
|
||||
const result = FileStorageSite.OneDrive;
|
||||
expect(result).to.equal('OneDrive');
|
||||
});
|
||||
});
|
||||
|
||||
describe('Internal', function () {
|
||||
it('should return the correct value', function () {
|
||||
const result = FileStorageSite.Internal;
|
||||
expect(result).to.equal('Internal');
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user