Skip to content

Commit

Permalink
refactor(tests): move tests from /bin to /lib
Browse files Browse the repository at this point in the history
They are actually testing entities from /lib.
  • Loading branch information
MaxGenash committed Aug 18, 2020
1 parent 9a8e2f0 commit 930922f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bin/stencil-bundle.spec.js → lib/stencil-bundle.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ const describe = lab.describe;
const themePath = Path.join(process.cwd(), 'test/_mocks/themes/valid');
const expect = Code.expect;
const it = lab.it;
const StencilBundle = require('../lib/stencil-bundle');
const LangAssembler = require('../lib/lang-assembler');
const StencilBundle = require('./stencil-bundle');
const LangAssembler = require('./lang-assembler');
const jspm = require('jspm');
const themeSchema = Fs.readFileSync((Path.join(themePath, 'schema.json'))).toString();

Expand Down
4 changes: 2 additions & 2 deletions bin/stencil-init.spec.js → lib/stencil-init.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ const describe = lab.describe;
const Inquirer = require('inquirer');
const expect = Code.expect;
const it = lab.it;
const StencilInit = require('../lib/stencil-init');
const StencilInit = require('./stencil-init');
const JspmAssembler = require('../lib/jspm-assembler');
const ThemeConfig = require('../lib/theme-config');
const ThemeConfig = require('./theme-config');

describe('stencil init', () => {
let sandbox;
Expand Down

0 comments on commit 930922f

Please sign in to comment.