fix: add tests for enums

This commit is contained in:
StevanFreeborn
2023-01-26 23:47:25 -06:00
parent fcc47993cd
commit c5de0131e0
20 changed files with 400 additions and 10 deletions
+32
View File
@@ -0,0 +1,32 @@
import { FormulaOutputType } from '../src/enums/FormulaOutputType';
import { expect } from 'chai';
describe('FormulaOutputType', function () {
describe('Text', function () {
it('should return the correct value', function () {
const result = FormulaOutputType.Text;
expect(result).to.equal('Text');
});
});
describe('Numeric', function () {
it('should return the correct value', function () {
const result = FormulaOutputType.Numeric;
expect(result).to.equal('Numeric');
});
});
describe('DateAndTime', function () {
it('should return the correct value', function () {
const result = FormulaOutputType.DateAndTime;
expect(result).to.equal('DateAndTime');
});
});
describe('ListValue', function () {
it('should return the correct value', function () {
const result = FormulaOutputType.ListValue;
expect(result).to.equal('ListValue');
});
});
});