Skip to content

Commit fe19513

Browse files
fmquagliarichmolj
authored andcommitted
#35 fixed tests in 5.3 (#36)
1 parent c982192 commit fe19513

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/integration/fetch-middleware-test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ describe('fetch middleware', function() {
194194
.catch((e) => {
195195
expect(e.response.statusText).to.eq('Internal Server Error')
196196
expect(e.originalError.message)
197-
.to.eq('Unexpected end of JSON input')
197+
.to.contain('Unexpected end of JSON input')
198198
})
199199
})
200200
})
@@ -325,7 +325,7 @@ describe('fetch middleware', function() {
325325
.catch((e) => {
326326
expect(e.response.statusText).to.eq('Internal Server Error')
327327
expect(e.originalError.message)
328-
.to.eq('Unexpected end of JSON input')
328+
.to.contain('Unexpected end of JSON input')
329329
})
330330
})
331331
})

test/unit/model-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ describe('Model', function() {
133133
expect(ApplicationRecord.jwt).to.eq('n3wt0k3n');
134134
});
135135

136-
describe.only('when localStorage is configured', function() {
136+
describe('when localStorage is configured', function() {
137137
beforeEach(function() {
138138
Config.jwtLocalStorage = 'jwt'
139139
Config.localStorage = { setItem: sinon.spy() }

0 commit comments

Comments
 (0)