Fix tests
// FREEBIE
This commit is contained in:
parent
b617240338
commit
78d7296f84
3 changed files with 3 additions and 1 deletions
|
@ -170,7 +170,7 @@
|
|||
}
|
||||
};
|
||||
|
||||
if (chrome) {
|
||||
if (chrome.notifications) {
|
||||
chrome.notifications.onClicked.addListener(function() {
|
||||
chrome.notifications.clear('signal');
|
||||
Whisper.Notifications.onclick();
|
||||
|
|
|
@ -110,6 +110,7 @@
|
|||
<script type="text/javascript" src="../js/libphonenumber-util.js"></script>
|
||||
<script type="text/javascript" src="../js/models/messages.js" data-cover></script>
|
||||
<script type="text/javascript" src="../js/models/conversations.js" data-cover></script>
|
||||
<script type="text/javascript" src="../js/conversation_controller.js" data-cover></script>
|
||||
|
||||
<script type="text/javascript" src="../js/chromium.js"></script>
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ describe('MessageView', function() {
|
|||
conversationId: convo.id,
|
||||
body: 'hello world',
|
||||
type: 'outgoing',
|
||||
source: '+14158675309',
|
||||
received_at: new Date().getTime()
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue