Skip to content

Commit

Permalink
more code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomociti committed Nov 4, 2024
1 parent cb9af9d commit b6d2828
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/model/test/lib/datatypeInference.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ describe('@cube-creator/model/DatatypeChecker', () => {
it('recognize xsd:gYearMonth', () => {
expect(inferDatatype(['2021-12'])).to.eq(xsd.gYearMonth)
})
it('recognize xsd:string', () => {
expect(inferDatatype(['abc'])).to.eq(xsd.string)
})
it('recognize two xsd:integer values', () => {
expect(inferDatatype(['42', '42'])).to.eq(xsd.integer)
})
Expand Down

0 comments on commit b6d2828

Please sign in to comment.