Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rsvp.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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
rsvp.js
Commits
dfa0a156
Commit
dfa0a156
authored
Jun 29, 2013
by
Teddy Zeenny
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Run reduce tests only in node
parent
2158a5a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
33 deletions
+39
-33
test/tests/extension_test.js
test/tests/extension_test.js
+39
-33
No files found.
test/tests/extension_test.js
View file @
dfa0a156
...
@@ -979,8 +979,12 @@ describe("RSVP extensions", function() {
...
@@ -979,8 +979,12 @@ describe("RSVP extensions", function() {
});
});
});
});
// thanks to @wizardwerdna for the test case -> https://github.com/tildeio/rsvp.js/issues/66
// thanks to @wizardwerdna for the test case -> https://github.com/tildeio/rsvp.js/issues/66
describe
(
"
using reduce to sum integers using promises
"
,
function
(){
// Only run these tests in node (phantomjs cannot handle them)
if
(
typeof
module
!==
'
undefined
'
&&
module
.
exports
)
{
describe
(
"
using reduce to sum integers using promises
"
,
function
(){
var
resolve
=
RSVP
.
resolve
;
var
resolve
=
RSVP
.
resolve
;
it
(
"
should build the promise pipeline without error
"
,
function
(){
it
(
"
should build the promise pipeline without error
"
,
function
(){
...
@@ -1025,4 +1029,6 @@ describe("using reduce to sum integers using promises", function(){
...
@@ -1025,4 +1029,6 @@ describe("using reduce to sum integers using promises", function(){
done
();
done
();
});
});
});
});
});
});
}
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