diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..7e79a30 --- /dev/null +++ b/circle.yml @@ -0,0 +1,20 @@ +dependencies: + override: + - curl -L https://atom.io/download/deb -o atom-amd64.deb + - sudo dpkg --install atom-amd64.deb || true + - sudo apt-get update + - sudo apt-get -f install + - node --version + - npm --version + - atom --version + - npm prune + - npm install + - apm rebuild + +test: + override: + - apm test + +machine: + node: + version: 6.3.0 diff --git a/spec/debugger-stub.js b/spec/debugger-stub.js index a521282..ac18192 100644 --- a/spec/debugger-stub.js +++ b/spec/debugger-stub.js @@ -25,6 +25,10 @@ export default class DebbugerStub { return this.emitter.on('breakpoint', callback) } + onTargetEvent(callback) { + return this.emitter.on('target', callback) + } + /* For tests */ emitSessionEvent(notification) { this.emitter.emit('session', notification)