@flowselections/pick-schermen-kwekers 1.0.28 → 1.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,4 @@
1
1
  import { describe, expect, it } from "vitest";
2
- import { readFileSync, readdirSync, statSync } from "node:fs";
3
- import { join } from "node:path";
4
2
  import { componentsUnknown, parsePickCartPlan } from "../pickTypes";
5
3
  function plan(items, extra = {}) {
6
4
  return parsePickCartPlan({
@@ -54,20 +52,4 @@ describe("sets met onderdelen (koppelprompt 41)", () => {
54
52
  expect(plan([], { warnings: "x" }).warnings).toEqual([]);
55
53
  expect(plan([], { warnings: [] }).warnings).toEqual([]);
56
54
  });
57
- it("geen .from() op Engine-tabellen in pickcode", () => {
58
- const files = [];
59
- const walk = (d) => readdirSync(d).forEach((f) => {
60
- const p = join(d, f);
61
- if (statSync(p).isDirectory()) {
62
- if (f !== "__tests__")
63
- walk(p);
64
- }
65
- else if (/\.tsx?$/.test(f))
66
- files.push(p);
67
- });
68
- walk("src/components/pick");
69
- walk("src/lib");
70
- const banned = /\.from\(\s*["'](order_cart_items|logistics_reservation_allocations|order_items|orders)["']/;
71
- expect(files.filter((f) => banned.test(readFileSync(f, "utf8")))).toEqual([]);
72
- });
73
55
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flowselections/pick-schermen-kwekers",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "flowselections": {
5
5
  "moduleId": "pick-schermen",
6
6
  "pages": [