Skip to content

Commit

Permalink
add immutable class tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mcbrewster committed Sep 20, 2023
1 parent 26fabd1 commit 492b989
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test/expression/expression.mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ describe('Expression', () => {
{ op: 'timeBucket', duration: 'P1D' },
{ op: 'timeBucket', duration: 'PT2H', timezone: 'Etc/UTC' },
{ op: 'timeBucket', duration: 'PT2H', timezone: 'America/Los_Angeles' },
{ op: 'timeBucket', duration: 'PT2H', timezone: 'America/Los_Angeles', bounds: '[]' },
{ op: 'timeBucket', duration: 'PT3H', timezone: 'America/Los_Angeles', bounds: '[)' },

{ op: 'timePart', part: 'DAY_OF_WEEK' },
{ op: 'timePart', part: 'DAY_OF_MONTH', timezone: 'Etc/UTC' },
Expand All @@ -243,6 +245,20 @@ describe('Expression', () => {
{ op: 'timeRange', duration: 'P1D', step: -2 },
{ op: 'timeRange', duration: 'P2D', step: 3, timezone: 'Etc/UTC' },
{ op: 'timeRange', duration: 'P2D', step: 3, timezone: 'America/Los_Angeles' },
{
op: 'timeRange',
duration: 'P2D',
step: 3,
timezone: 'America/Los_Angeles',
bounds: '[]',
},
{
op: 'timeRange',
duration: 'P2D',
step: 4,
timezone: 'America/Los_Angeles',
bounds: '[)',
},

{ op: 'transformCase', transformType: 'upperCase' },
{ op: 'transformCase', transformType: 'lowerCase' },
Expand Down

0 comments on commit 492b989

Please sign in to comment.