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:
parent
08abfcafd1
commit
3d1e53e8f9
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user