From 53575c5441b94e78770dab5107bc44a7b8d27763 Mon Sep 17 00:00:00 2001 From: David Luecke Date: Mon, 22 Apr 2019 09:40:03 -0700 Subject: [PATCH] fix: Update version number check --- packages/authentication-client/test/index.test.ts | 4 ++-- packages/feathers/test/application.test.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/authentication-client/test/index.test.ts b/packages/authentication-client/test/index.test.ts index 152756ad48..b995179158 100644 --- a/packages/authentication-client/test/index.test.ts +++ b/packages/authentication-client/test/index.test.ts @@ -46,7 +46,7 @@ describe('@feathersjs/authentication-client', () => { const token = 'hi'; await auth.setJwt(token); - + const res = await auth.getJwt(); assert.strictEqual(res, token); @@ -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'); diff --git a/packages/feathers/test/application.test.js b/packages/feathers/test/application.test.js index b1cfc390ed..7830dd46fa 100644 --- a/packages/feathers/test/application.test.js +++ b/packages/feathers/test/application.test.js @@ -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 => {