Skip to content

Commit

Permalink
Back to the previous structure
Browse files Browse the repository at this point in the history
  • Loading branch information
samhatoum committed Mar 26, 2017
1 parent ca1bd50 commit f5f776e
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .wallaby-client.js
Expand Up @@ -3,19 +3,19 @@ module.exports = function (wallaby) {
const postprocessor = wallabify({
entryPatterns: [
'config/mocha.bootstrap.js',
'src/imports/adaptors/web/**/*spec.js'
'src/imports/ui/**/*spec.js'
]
});
return {
debug: false,
testFramework: 'mocha',
files: [
{pattern: 'config/mocha.bootstrap.js', load: false, instrument: false},
{pattern: 'src/imports/adaptors/web/**/*.js', load: false},
{pattern: 'src/imports/adaptors/web/**/*spec.js', ignore: true},
{pattern: 'src/imports/ui/**/*.js', load: false},
{pattern: 'src/imports/ui/**/*spec.js', ignore: true},
],
tests: [
{pattern: 'src/imports/adaptors/web/**/*spec.js', load: false},
{pattern: 'src/imports/ui/**/*spec.js', load: false},
],
compilers: {
'**/*.js': wallaby.compilers.babel()
Expand Down
2 changes: 1 addition & 1 deletion config/karma.options.js
Expand Up @@ -10,7 +10,7 @@ module.exports = {
'source-map-support' // allows us to see which source lines are cause failures when they occur
],
files: [ // the order in which to load the source and test files
'src/imports/adaptors/web/**/*.js'
'src/imports/ui/**/*.js'
],
exclude: [ // since karma is a front-end only testing framework, we ignore server directories
'src/**/server/**',
Expand Down
5 changes: 5 additions & 0 deletions src/imports/application/services/my-spec.js
@@ -0,0 +1,5 @@
describe('an application service', function () {
it('method', function () {
'hello'.should.be.a('string');
});
});
@@ -1,4 +1,4 @@
describe('a domain', function () {
describe('a domain model', function () {
it('entity', function () {
'hello'.should.be.a('string');
});
Expand Down
@@ -1,4 +1,4 @@
describe('an adaptor', function () {
describe('a domain service', function () {
it('method', function () {
'hello'.should.be.a('string');
});
Expand Down
5 changes: 0 additions & 5 deletions src/imports/ports/my-spec.js

This file was deleted.

File renamed without changes.
File renamed without changes.

0 comments on commit f5f776e

Please sign in to comment.