1- import { describe , expect } from 'vitest' ;
1+ import { describe , expect , it } from 'vitest' ;
22import { StableHasher } from '../../../../src/compiler/equality.js' ;
33import {
44 BucketDataSource ,
@@ -8,10 +8,9 @@ import {
88 SyncConfig
99} from '../../../../src/index.js' ;
1010import { compileToSyncPlanWithoutErrors } from '../../compiler/utils.js' ;
11- import { syncTest } from './utils.js' ;
1211
1312describe ( 'prepared bucket data source equality' , ( ) => {
14- syncTest ( 'matches equivalent prepared bucket sources from different plans' , ( { sync } ) => {
13+ it ( 'matches equivalent prepared bucket sources from different plans' , ( ) => {
1514 const firstYaml = `
1615config:
1716 edition: 3
@@ -31,7 +30,7 @@ streams:
3130 expectSerializedBucketSources ( firstYaml , secondYaml , true ) ;
3231 } ) ;
3332
34- syncTest ( 'does not match when output columns differ' , ( { sync } ) => {
33+ it ( 'does not match when output columns differ' , ( ) => {
3534 const firstYaml = `
3635config:
3736 edition: 3
@@ -51,7 +50,7 @@ streams:
5150 expectSerializedBucketSources ( firstYaml , secondYaml , false ) ;
5251 } ) ;
5352
54- syncTest ( 'does not match when partitioning differs' , ( { sync } ) => {
53+ it ( 'does not match when partitioning differs' , ( ) => {
5554 const firstYaml = `
5655config:
5756 edition: 3
@@ -71,7 +70,7 @@ streams:
7170 expectSerializedBucketSources ( firstYaml , secondYaml , false ) ;
7271 } ) ;
7372
74- syncTest ( 'does not match equivalent bucket sources with different stream names' , ( { sync } ) => {
73+ it ( 'does not match equivalent bucket sources with different stream names' , ( ) => {
7574 const firstYaml = `
7675config:
7776 edition: 3
@@ -95,7 +94,7 @@ streams:
9594 expectSerializedBucketSources ( firstYaml , secondYaml , false , true ) ;
9695 } ) ;
9796
98- syncTest ( 'matches when subqueries differ but the data source does not' , ( { sync } ) => {
97+ it ( 'matches when subqueries differ but the data source does not' , ( ) => {
9998 const firstYaml = `
10099config:
101100 edition: 3
@@ -123,7 +122,7 @@ streams:
123122 expectSerializedBucketSources ( firstYaml , secondYaml , true ) ;
124123 } ) ;
125124
126- syncTest ( 'matches when only bucket input parameters differ' , ( { sync } ) => {
125+ it ( 'matches when only bucket input parameters differ' , ( ) => {
127126 const firstYaml = `
128127config:
129128 edition: 3
@@ -143,7 +142,7 @@ streams:
143142 expectSerializedBucketSources ( firstYaml , secondYaml , true ) ;
144143 } ) ;
145144
146- syncTest ( 'matches buckets with the same data sources in a different order' , ( { sync } ) => {
145+ it ( 'matches buckets with the same data sources in a different order' , ( ) => {
147146 const firstYaml = `
148147config:
149148 edition: 3
@@ -167,7 +166,7 @@ streams:
167166 expectSerializedBucketSources ( firstYaml , secondYaml , true ) ;
168167 } ) ;
169168
170- syncTest ( 'compares table-valued function output expressions by their bindings' , ( { sync } ) => {
169+ it ( 'compares table-valued function output expressions by their bindings' , ( ) => {
171170 const firstYaml = `
172171config:
173172 edition: 3
0 commit comments