Skip to content

Commit

Permalink
#107 Updated tests and version
Browse files Browse the repository at this point in the history
  • Loading branch information
nohorjo committed May 6, 2018
1 parent 19fb41f commit 39b4869
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "centsa",
"version": "2.2.0",
"version": "2.3.0",
"description": "Centsa money managing solution",
"main": "src/index.js",
"directories": {
Expand Down
6 changes: 3 additions & 3 deletions test/fbauthTest.ts → test/AuthenticationTest.ts
Original file line number Diff line number Diff line change
@@ -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();
Expand Down Expand Up @@ -181,4 +181,4 @@ describe("fbauth", () => {
expect(sendStatusSpy.calledWith(201)).to.be.true;
});
});
});
});

0 comments on commit 39b4869

Please sign in to comment.