Updated import for mw-update-user-last-seen tests

- this now requires the library as it would be used, which increases
  coverage
This commit is contained in:
Daniel Lockyer 2022-07-26 15:31:14 +02:00
parent 08abfcafd1
commit 3d1e53e8f9
No known key found for this signature in database
GPG Key ID: D21186F0B47295AD

View File

@ -2,7 +2,7 @@
// const testUtils = require('./utils');
require('./utils');
const updateUserLastSeenMiddleware = require('../lib/mw-update-user-last-seen');
const updateUserLastSeenMiddleware = require('../');
class UserMock {
constructor(initialProps) {