Skip to content

Commit

Permalink
revert: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
k1r0s committed Dec 8, 2017
1 parent 1518c3f commit ec5899f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/exception-handling.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ const catchVoid = onException(meta => meta.handle())
class Person {

@catchVoid
sayHello() {
throw new Error("sayHello err");
sayHello () {
throw new Error("sayHello err")
}
}

let personInstance;
let personInstance

describe("exception handling advice", () => {
beforeEach(() => {
personInstance = new Person;
personInstance = new Person()
})

it("Check error throw on invocation", () => {
personInstance.sayHello();
});
personInstance.sayHello()
})

})

0 comments on commit ec5899f

Please sign in to comment.