@linzjs/step-ag-grid 15.1.2 → 15.1.3
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.
package/package.json
CHANGED
package/src/utils/testQuick.ts
CHANGED
|
@@ -70,7 +70,15 @@ const quickSelector = <T extends HTMLElement>(
|
|
|
70
70
|
els = els.filter(matcher);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
return {
|
|
73
|
+
return {
|
|
74
|
+
selector: [
|
|
75
|
+
selector,
|
|
76
|
+
typeof lastIQueryQuick.text == "string" ? JSON.stringify(lastIQueryQuick.text) : lastIQueryQuick.text,
|
|
77
|
+
]
|
|
78
|
+
.filter((r) => r)
|
|
79
|
+
.join(" "),
|
|
80
|
+
els,
|
|
81
|
+
};
|
|
74
82
|
};
|
|
75
83
|
|
|
76
84
|
/**
|
|
@@ -110,7 +118,7 @@ export const queryAllQuick = <T extends HTMLElement>(filter: IQueryQuick, contai
|
|
|
110
118
|
export const getAllQuick = <T extends HTMLElement>(filter: IQueryQuick, container?: HTMLElement): T[] => {
|
|
111
119
|
const els = queryAllQuick(filter, container);
|
|
112
120
|
if (els.length == 0) {
|
|
113
|
-
throw Error(`getAllQuick not found, selector: ${quickSelector(filter)}`);
|
|
121
|
+
throw Error(`getAllQuick not found, selector: ${quickSelector(filter).selector}`);
|
|
114
122
|
}
|
|
115
123
|
return els as T[];
|
|
116
124
|
};
|