Skip to content

Commit

Permalink
fix: Update version number check
Browse files Browse the repository at this point in the history
  • Loading branch information
daffl committed Apr 22, 2019
1 parent da28a88 commit 53575c5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/authentication-client/test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('@feathersjs/authentication-client', () => {
const token = 'hi';

await auth.setJwt(token);

const res = await auth.getJwt();

assert.strictEqual(res, token);
Expand All @@ -58,7 +58,7 @@ describe('@feathersjs/authentication-client', () => {
it('getFromLocation', async () => {
const auth = app.authentication;
let dummyLocation = { hash: 'access_token=testing' } as Location;

let token = await auth.getFromLocation(dummyLocation);

assert.strictEqual(token, 'testing');
Expand Down
4 changes: 2 additions & 2 deletions packages/feathers/test/application.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ describe('Feathers application', () => {
it('sets the version on main and app instance', () => {
const app = feathers();

assert.strictEqual(feathers.version, '3.0.0-development');
assert.strictEqual(app.version, '3.0.0-development');
assert.strictEqual(feathers.version, '4.0.0-pre.0');
assert.strictEqual(app.version, '4.0.0-pre.0');
});

it('is an event emitter', done => {
Expand Down

0 comments on commit 53575c5

Please sign in to comment.