Skip to content

Commit

Permalink
Unified outer describe msg on mock-fs-based tests #11
Browse files Browse the repository at this point in the history
  • Loading branch information
sthzg committed Jul 8, 2016
1 parent 15b93cd commit d0e0a0e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/utils/utilsTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const utils = require('../../utils/utils');


describe('getInstalledPkgPaths()', () => {
describe('getInstalledPkgPaths()', function () {
describe('with mocked file system', function () {
before(function() {
mockfs(tHelpers.mockedDirsForSearchPaths.structure);
});
Expand All @@ -32,7 +32,7 @@ describe('getInstalledPkgPaths()', () => {


describe('populatePkgStoreFromPaths()', () => {
describe('populatePkgStoreFromPaths()', function () {
describe('with mocked file system', function () {
before(function() {
mockfs(tHelpers.mockedDirsForSearchPaths.structure);
this.pkgPaths = utils.getInstalledPkgPaths(tHelpers.mockedDirsForSearchPaths.roots);
Expand All @@ -55,7 +55,7 @@ describe('populatePkgStoreFromPaths()', () => {


describe('getPkgInfo()', () => {
describe('getPkgInfo()', function () {
describe('with mocked file system', function () {
before(function () {
mockfs(tHelpers.mockedDirsForSearchPaths.structure);
const pkgPaths = utils.getInstalledPkgPaths(tHelpers.mockedDirsForSearchPaths.roots);
Expand Down

0 comments on commit d0e0a0e

Please sign in to comment.