Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
b5e7bd56
Commit
b5e7bd56
authored
Dec 22, 2017
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move roster tests into their own module
parent
f5904806
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1196 deletions
+3
-1196
spec/controlbox.js
spec/controlbox.js
+0
-1194
tests/runner.js
tests/runner.js
+1
-0
tests/utils.js
tests/utils.js
+2
-2
No files found.
spec/controlbox.js
View file @
b5e7bd56
This diff is collapsed.
Click to expand it.
tests/runner.js
View file @
b5e7bd56
...
...
@@ -46,6 +46,7 @@ var specs = [
"
spec/mam
"
,
"
spec/otr
"
,
"
spec/controlbox
"
,
"
spec/roster
"
,
"
spec/chatbox
"
,
"
spec/chatroom
"
,
"
spec/minchats
"
,
...
...
tests/utils.js
View file @
b5e7bd56
...
...
@@ -228,7 +228,7 @@
/* Create grouped contacts
*/
var
i
=
0
,
j
=
0
;
_
.
each
(
_
.
keys
(
mock
.
groups
),
$
.
proxy
(
function
(
name
)
{
_
.
each
(
_
.
keys
(
mock
.
groups
),
function
(
name
)
{
j
=
i
;
for
(
i
=
j
;
i
<
j
+
mock
.
groups
[
name
];
i
++
)
{
converse
.
roster
.
create
({
...
...
@@ -239,7 +239,7 @@
fullname
:
mock
.
cur_names
[
i
]
});
}
}
,
converse
)
);
});
};
utils
.
createChatMessage
=
function
(
_converse
,
sender_jid
,
message
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment