testUtils.js: Serialize timestamp with #getTimestampString

This currently only makes a difference in some skipped tests.

Change-Id: Ia27fb1cf1bbf2ffdcc471eb6e4dacf4dce44efec
This commit is contained in:
Ed Sanders 2022-10-11 17:37:20 +01:00
parent 6d03608b7c
commit 2de72655d8

View file

@ -87,6 +87,9 @@ module.exports.serializeComments = function ( parent, root ) {
];
} );
}
if ( parent.timestamp ) {
parent.timestamp = parent.getTimestampString();
}
// Unimportant
delete parent.rootNode;