Skip to content

Commit

Permalink
update moment module from testcafe/node_modules/ (closes #1750)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKamaev committed May 23, 2018
1 parent 7307f6f commit ced2d10
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"map-reverse": "^1.0.1",
"mkdirp": "^0.5.1",
"moment": "^2.10.3",
"moment-duration-format": "^1.3.0",
"moment-duration-format": "^2.2.2",
"mustache": "^2.1.2",
"nanoid": "^1.0.1",
"node-version": "^1.0.0",
Expand Down
4 changes: 3 additions & 1 deletion src/reporter/plugin-host.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ import chalk from 'chalk';
import indentString from 'indent-string';
import { identity, escape as escapeHtml, assignIn } from 'lodash';
import moment from 'moment';
import 'moment-duration-format';
import momentDurationFormatSetup from 'moment-duration-format';
import OS from 'os-family';
import { wordWrap, removeTTYColors } from '../utils/string';
import getViewportWidth from '../utils/get-viewport-width';

momentDurationFormatSetup(moment);

// NOTE: we should not expose internal state to
// the plugin, to avoid accidental rewrites.
// Therefore we use symbols to store them.
Expand Down

0 comments on commit ced2d10

Please # to comment.