From 39b4869815f6d83bc7ae634ea403b716efed7cbc Mon Sep 17 00:00:00 2001 From: Muhammed Haque Date: Sun, 6 May 2018 05:16:38 +0100 Subject: [PATCH] #107 Updated tests and version --- package.json | 2 +- test/{fbauthTest.ts => AuthenticationTest.ts} | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) rename test/{fbauthTest.ts => AuthenticationTest.ts} (99%) diff --git a/package.json b/package.json index f0c211a8..69a02d66 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "centsa", - "version": "2.2.0", + "version": "2.3.0", "description": "Centsa money managing solution", "main": "src/index.js", "directories": { diff --git a/test/fbauthTest.ts b/test/AuthenticationTest.ts similarity index 99% rename from test/fbauthTest.ts rename to test/AuthenticationTest.ts index e72f3c10..3e8ce7dc 100644 --- a/test/fbauthTest.ts +++ b/test/AuthenticationTest.ts @@ -1,10 +1,10 @@ -import { checkAuth, authSkipLogin, login, logout } from '../src/fbauth'; +import { checkAuth, authSkipLogin, login, logout } from '../src/Authentication'; import { spy, stub, match } from 'sinon'; import { expect } from 'chai'; import axios from 'axios'; import * as Users from '../src/Users'; -describe("fbauth", () => { +describe("Authentication", () => { describe("checkAuth", () => { it("calls next when userdata is provided", () => { const nextSpy = spy(); @@ -181,4 +181,4 @@ describe("fbauth", () => { expect(sendStatusSpy.calledWith(201)).to.be.true; }); }); -}); \ No newline at end of file +});