mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-09-24 10:58:20 +00:00
testUtils.js: Serialize timestamp with #getTimestampString
This currently only makes a difference in some skipped tests. Change-Id: Ia27fb1cf1bbf2ffdcc471eb6e4dacf4dce44efec
This commit is contained in:
parent
6d03608b7c
commit
2de72655d8
|
@ -87,6 +87,9 @@ module.exports.serializeComments = function ( parent, root ) {
|
|||
];
|
||||
} );
|
||||
}
|
||||
if ( parent.timestamp ) {
|
||||
parent.timestamp = parent.getTimestampString();
|
||||
}
|
||||
|
||||
// Unimportant
|
||||
delete parent.rootNode;
|
||||
|
|
Loading…
Reference in a new issue