Skip to content

Commit

Permalink
chore: fix prettier formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
TimothyJones committed Jul 26, 2019
1 parent d9afebb commit 51d54ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/dsl/matchers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -459,9 +459,9 @@ describe("Matcher", () => {
describe("#string", () => {
describe("when given a valid string", () => {
it("creates a valid matcher", () => {
expect(string('test')).to.be.an("object")
expect(string("test")).to.be.an("object")
expect(integer()).to.be.an("object")
expect(integer('test').contents).to.equal('test')
expect(integer("test").contents).to.equal("test")
})
})
})
Expand Down
4 changes: 2 additions & 2 deletions src/dsl/matchers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ export function boolean(value: boolean = true) {
/**
* String Matcher.
*/
export function string(value: string = 'iloveorange') {
return somethingLike<string>(value);
export function string(value: string = "iloveorange") {
return somethingLike<string>(value)
}

// Convenience alias'
Expand Down

0 comments on commit 51d54ad

Please sign in to comment.