Permalink
Browse files

that momentJS is running

  • Loading branch information...
1 parent 1a7a812 commit 3ab0a22e3a3a428370a7f0fdaffa08a005398ac7 @philschatz committed Dec 29, 2016
Showing with 3 additions and 0 deletions.
  1. +3 −0 test/index.js
View
@@ -54,6 +54,9 @@ test('shows a repo', async t => {
// FIXME: When loading is done then the issues should be listed (now it has to wait for 10 seconds)
// await browser.waitForExist('a.issue-title', 10 * 1000)
await browser.getText('a.issue-title')
+ // Check that issues have an updatedAt (check that MomentJS is working)
+ const agoRegExp = / ago/
+ t.true(agoRegExp.test(await browser.getText('time.updated-at')))
})

0 comments on commit 3ab0a22

Please sign in to comment.