Skip to content

Commit

Permalink
test(sessions): move session unit tests to new unit tld
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroadst committed Oct 12, 2017
1 parent bce5adf commit 3c7e04f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"url": "https://github.com/mongodb/node-mongodb-native/issues"
},
"scripts": {
"test": "mongodb-test-runner -t 60000 test/functional",
"test": "mongodb-test-runner -t 60000 test/unit test/functional",
"coverage": "node_modules/.bin/nyc node test/runner.js -t functional && node_modules/.bin/nyc report --reporter=text-lcov | node_modules/.bin/coveralls",
"lint": "eslint lib test",
"format": "prettier --print-width 100 --tab-width 2 --single-quote --write 'test/**/*.js' 'lib/**/*.js'"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
'use strict';

const MongoClient = require('../..').MongoClient;
const MongoClient = require('../../..').MongoClient;
const expect = require('chai').expect;
const assign = require('../../lib/utils').assign;
const mock = require('../mock');
const assign = require('../../../lib/utils').assign;
const mock = require('../../mock');

const test = {};
describe('Sessions', function() {
describe('unit', function() {
describe('Client', function() {
afterEach(() => mock.cleanup());
beforeEach(() => {
return mock.createServer().then(server => {
Expand Down

0 comments on commit 3c7e04f

Please sign in to comment.