Skip to content

Commit

Permalink
skip test for missing TreeWalker finctionality until its there
Browse files Browse the repository at this point in the history
  • Loading branch information
heswell committed Oct 27, 2023
1 parent 474d5ca commit f1b412a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 32 deletions.
16 changes: 0 additions & 16 deletions vuu-ui/packages/vuu-data/src/remote-data-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,6 @@ export class RemoteDataSource
visualLink: visualLink || this.#config.visualLink,
};

console.log(`1)`, {
config: this.#config,
});

this.#title = title;
this.rangeRequest = this.throttleRangeRequest;
}
Expand Down Expand Up @@ -162,14 +158,6 @@ export class RemoteDataSource

const { bufferSize } = this;

console.log(`subscribe`, {
config: this.#config,
});

console.log(`3)`, {
config: this.#config,
});

this.server?.subscribe(
{
...this.#config,
Expand Down Expand Up @@ -400,9 +388,6 @@ export class RemoteDataSource
}

set config(config: DataSourceConfig) {
console.log(`2)`, {
config,
});
if (configChanged(this.#config, config)) {
if (config) {
const newConfig: DataSourceConfig =
Expand Down Expand Up @@ -452,7 +437,6 @@ export class RemoteDataSource
this.server.send(message);
}
}
console.log("set columns");
this.emit("config", this.#config);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,6 @@ export const walkTree = (tree: Tree, source: string) => {
const cursor = tree.cursor();
do {
const { name, from, to } = cursor;
console.log(`walkTree ${name}`);
switch (name) {
case "AndCondition":
columnExpression.setCondition("and");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ describe("Column Expression treeWalker", () => {
});
});

it.only("parses and expressions with boolean conditions", () => {
it.skip("parses and expressions with boolean conditions", () => {
const str = 'and(bid > 100, currency="EUR")';
const result = parser.parse(str);
const expression = walkTree(result, str);
Expand Down
14 changes: 0 additions & 14 deletions vuu-ui/packages/vuu-utils/test/json-utils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,20 +159,6 @@ describe("jsonToDataSourceRows", () => {
});

it("parses a 2 level structure, mixed simple attributes and array (json values)", () => {
console.log(
jsonToDataSourceRows({
test1: "value 1",
test2: 12345,
test3: 100.01,
test4: true,
test5: [
{ "test5.1": "test 5.1 value" },
{ "test5.2": "test 5.2 value" },
{ "test5.3": "test 5.2 value" },
],
})
);

// prettier-ignore
expect(
jsonToDataSourceRows({
Expand Down

0 comments on commit f1b412a

Please sign in to comment.