This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var req = new WriteWrap(); | |
^ | |
RangeError: Maximum call stack size exceeded | |
at Socket._writeGeneric (net.js:660:13) | |
at Socket._write (net.js:709:8) | |
at doWrite (_stream_writable.js:301:12) | |
at writeOrBuffer (_stream_writable.js:288:5) | |
at Socket.Writable.write (_stream_writable.js:217:11) | |
at Socket.write (net.js:634:40) | |
at [object Object].Console.log (/usr/local/lib/node_modules/dredd/node_modules/winston/lib/winston/transports/console.js:88:20) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FORMAT: 1A8 | |
HOST: http://api.example.com | |
# API | |
This is an API with about 480 endpoints | |
# Group 329F2A0BC56148E5BD5E3BD2AA767188 | |
## 329F2A0BC56148E5BD5E3BD2AA767188 [/2223715AC2F845F89E6E34F4A20928A5/86EA55EB6B89484294C35C3F8F517BEB] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM clojure | |
# Install Drake | |
WORKDIR /usr/share/ | |
RUN git clone https://github.com/Factual/drake.git | |
WORKDIR /usr/share/drake | |
RUN lein uberjar | |
ENV DRAKE_HOME=/usr/share/drake | |
ENV PATH=$PATH:$DRAKE_HOME/bin |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var expect = require("chai").expect, | |
Q = require("q"); | |
var Workflow1 = {}, | |
Workflow2 = {}; | |
Workflow1.run = function(param) { | |
var deferred = Q.defer(); | |
describe("Example workflow1", function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This will correctly run both workflows on my machine. | |
// However, it requires the hack of putting the resolution | |
// of the deferred in the nested describe block. | |
var expect = require("chai").expect, | |
Q = require("q"); | |
var Workflow1 = {}, | |
Workflow2 = {}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This solution won't work - if you run it with `mocha debug path/to/file.js, | |
// it will fail to actually run the tests in Workflow2. | |
var expect = require("chai").expect, | |
Q = require("q"); | |
var Workflow1 = {}, | |
Workflow2 = {}; | |
Workflow1.run = function(param) { | |
var deferred = Q.defer(); |