mol_plot_all 1.2.147 → 1.2.151
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/node.test.js +15 -0
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.test.js +15 -0
- package/web.test.js.map +1 -1
package/package.json
CHANGED
package/web.test.js
CHANGED
|
@@ -348,6 +348,17 @@ var $;
|
|
|
348
348
|
;
|
|
349
349
|
"use strict";
|
|
350
350
|
var $;
|
|
351
|
+
(function ($) {
|
|
352
|
+
function $mol_dom_serialize(node) {
|
|
353
|
+
const serializer = new $.$mol_dom_context.XMLSerializer;
|
|
354
|
+
return serializer.serializeToString(node);
|
|
355
|
+
}
|
|
356
|
+
$.$mol_dom_serialize = $mol_dom_serialize;
|
|
357
|
+
})($ || ($ = {}));
|
|
358
|
+
//serialize.js.map
|
|
359
|
+
;
|
|
360
|
+
"use strict";
|
|
361
|
+
var $;
|
|
351
362
|
(function ($) {
|
|
352
363
|
$.$mol_test({
|
|
353
364
|
'must be false'() {
|
|
@@ -465,6 +476,10 @@ var $;
|
|
|
465
476
|
}
|
|
466
477
|
}
|
|
467
478
|
$.$mol_assert_like = $mol_assert_like;
|
|
479
|
+
function $mol_assert_dom(left, right) {
|
|
480
|
+
$mol_assert_equal($.$mol_dom_serialize(left), $.$mol_dom_serialize(right));
|
|
481
|
+
}
|
|
482
|
+
$.$mol_assert_dom = $mol_assert_dom;
|
|
468
483
|
})($ || ($ = {}));
|
|
469
484
|
//assert.js.map
|
|
470
485
|
;
|