Skip to content

Commit ea9c711

Browse files
committed
Fix mock deployClient to return activated revision key
1 parent 5cf004c commit ea9c711

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/unit/activate-hook-test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ describe('DeployPlugin | activate hook', function() {
3232
activateRevision() {
3333
didActivate = true;
3434

35-
return Promise.resolve();
35+
return Promise.resolve({
36+
revisionKey: '123abc'
37+
});
3638
}
3739
}),
38-
revisionKey: '123abc',
3940
tableName: 'foo'
4041
}
4142
}

0 commit comments

Comments
 (0)