Permalink
Browse files

module export issues resolved

  • Loading branch information...
florianheinemann committed Jun 4, 2014
1 parent 7f9ecf0 commit a9624be0b0a4535c8f0dc549ab417e9d910c284e
@@ -1,4 +1,3 @@
'use strict';

module.exports = module.exports.Passwordless = require('./lib');
module.exports.TokenStore = require('./lib').TokenStore;
module.exports = require('./lib');
@@ -2,7 +2,7 @@

var url = require('url');
var uuid = require('node-uuid');
var TokenStore = require('../TokenStore/tokenstore');
var TokenStore = require('../tokenstore/tokenstore');

/**
* Passwordless
@@ -4,4 +4,4 @@ var Passwordless = require('./Passwordless/passwordless');

module.exports = new Passwordless();
module.exports.Passwordless = Passwordless;
module.exports.TokenStore = require('./TokenStore/tokenstore');
module.exports.TokenStore = require('./tokenstore/tokenstore');
@@ -4,7 +4,7 @@ var expect = require('chai').expect;
var express = require('express');
var request = require('supertest');
var bodyParser = require('body-parser')
var Passwordless = require('../../lib').Passwordless;
var Passwordless = require('../../').Passwordless;
var TokenStoreMockAuthOnly = require('../mock/tokenstoreauthonly');
var cookieParser = require('cookie-parser');
var expressSession = require('express-session');
@@ -6,7 +6,7 @@ var request = require('supertest');
var cookieParser = require('cookie-parser');
var expressSession = require('express-session');
var cookieSession = require('cookie-session');
var Passwordless = require('../../lib').Passwordless;
var Passwordless = require('../../').Passwordless;
var TokenStoreMockAuthOnly = require('../mock/tokenstoreauthonly');

describe('passwordless', function() {
@@ -6,7 +6,7 @@ var request = require('supertest');
var cookieParser = require('cookie-parser');
var expressSession = require('express-session');
var cookieSession = require('cookie-session');
var Passwordless = require('../../lib').Passwordless;
var Passwordless = require('../../').Passwordless;
var TokenStoreMockAuthOnly = require('../mock/tokenstoreauthonly');

describe('passwordless', function() {
@@ -5,7 +5,7 @@ var express = require('express');
var request = require('supertest');
var cookieParser = require('cookie-parser');
var expressSession = require('express-session');
var Passwordless = require('../../lib').Passwordless;
var Passwordless = require('../../').Passwordless;
var TokenStoreMockAuthOnly = require('../mock/tokenstoreauthonly');

describe('passwordless', function() {
@@ -6,7 +6,7 @@ var request = require('supertest');
var bodyParser = require('body-parser')
var cookieParser = require('cookie-parser');
var expressSession = require('express-session');
var Passwordless = require('../../lib').Passwordless;
var Passwordless = require('../../').Passwordless;
var TokenStoreMockAuthOnly = require('../mock/tokenstoreauthonly');
var flash = require('connect-flash');

@@ -6,7 +6,7 @@ var request = require('supertest');
var bodyParser = require('body-parser')
var cookieParser = require('cookie-parser');
var expressSession = require('express-session');
var Passwordless = require('../../lib').Passwordless;
var Passwordless = require('../../').Passwordless;
var TokenStoreMockAuthOnly = require('../mock/tokenstoreauthonly');

describe('passwordless', function() {
@@ -6,7 +6,7 @@ var request = require('supertest');
var bodyParser = require('body-parser')
var cookieParser = require('cookie-parser');
var expressSession = require('express-session');
var Passwordless = require('../../lib').Passwordless;
var Passwordless = require('../../').Passwordless;
var TokenStoreMock = require('../mock/tokenstore');

describe('passwordless', function() {
@@ -6,7 +6,7 @@ var request = require('supertest');
var bodyParser = require('body-parser')
var cookieParser = require('cookie-parser');
var expressSession = require('express-session');
var Passwordless = require('../../lib').Passwordless;
var Passwordless = require('../../').Passwordless;
var TokenStoreMock = require('../mock/tokenstore');

describe('passwordless', function() {
@@ -3,8 +3,8 @@
var expect = require('chai').expect;
var express = require('express');
var request = require('supertest');
var passwordlessInst = require('../lib');
var Passwordless = require('../lib').Passwordless;
var passwordlessInst = require('../');
var Passwordless = require('../').Passwordless;
var TokenStoreMockAuthOnly = require('./mock/tokenstoreauthonly');

describe('passwordless', function() {
@@ -6,7 +6,7 @@ var request = require('supertest');
var cookieParser = require('cookie-parser');
var expressSession = require('express-session');
var cookieSession = require('cookie-session');
var Passwordless = require('../../lib').Passwordless;
var Passwordless = require('../../').Passwordless;
var TokenStoreMockAuthOnly = require('../mock/tokenstoreauthonly');

describe('passwordless', function() {
@@ -1,7 +1,7 @@
'use strict';

var util = require('util');
var TokenStore = require('../../lib').TokenStore;
var TokenStore = require('../../').TokenStore;

function TokenStoreMock() {
TokenStore.call(this);
@@ -1,7 +1,7 @@
'use strict';

var util = require('util');
var TokenStore = require('../../lib').TokenStore;
var TokenStore = require('../../').TokenStore;

function TokenStoreMockAuthOnly(infiniteValidity, onStore) {
TokenStore.call(this);
@@ -3,7 +3,7 @@
var expect = require('chai').expect;
var express = require('express');
var request = require('supertest');
var Passwordless = require('../../lib').Passwordless;
var Passwordless = require('../../').Passwordless;
var TokenStoreMockAuthOnly = require('../mock/tokenstoreauthonly');
var cookieParser = require('cookie-parser');
var expressSession = require('express-session');
@@ -5,7 +5,7 @@ var express = require('express');
var request = require('supertest');
var cookieParser = require('cookie-parser');
var expressSession = require('express-session');
var Passwordless = require('../../lib').Passwordless;
var Passwordless = require('../../').Passwordless;
var TokenStoreMockAuthOnly = require('../mock/tokenstoreauthonly');

describe('passwordless', function() {

0 comments on commit a9624be

Please sign in to comment.