diff --git a/src/generators/testing-wallaby/index.js b/src/generators/testing-wallaby/index.js deleted file mode 100644 index 0af4540c..00000000 --- a/src/generators/testing-wallaby/index.js +++ /dev/null @@ -1,13 +0,0 @@ -export const TestingWallabyMixin = subclass => - class extends subclass { - async execute() { - await super.execute(); - - this.copyTemplateJsonInto( - `${__dirname}/templates/package.json`, - this.destinationPath('package.json'), - ); - - await this.copyTemplates(`${__dirname}/templates/static/**/*`); - } - }; diff --git a/src/generators/testing-wallaby/templates/package.json b/src/generators/testing-wallaby/templates/package.json deleted file mode 100644 index b905ced1..00000000 --- a/src/generators/testing-wallaby/templates/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "devDependencies": { - "@open-wc/testing-wallaby": "^0.1.14" - } -} diff --git a/src/generators/testing-wallaby/templates/static/wallaby.js b/src/generators/testing-wallaby/templates/static/wallaby.js deleted file mode 100644 index e68d0948..00000000 --- a/src/generators/testing-wallaby/templates/static/wallaby.js +++ /dev/null @@ -1,23 +0,0 @@ -const wallabyWebpack = require('wallaby-webpack'); // eslint-disable-line import/no-extraneous-dependencies -const path = require('path'); - -const wallabyPostprocessor = wallabyWebpack({ - resolve: { - modules: [path.resolve(__dirname, 'bower_components'), 'node_modules'], - }, -}); - -module.exports = () => ({ - files: [{ pattern: '*.js', load: false }, '!wallaby.js', '!*.config.js', '!*.conf.js'], - tests: [{ pattern: 'test/*.test.js', load: false }], - testFramework: 'mocha', - debug: true, - env: { - kind: 'chrome', - }, - postprocessor: wallabyPostprocessor, - setup: () => { - // required to trigger test loading - window.__moduleBundler.loadTests(); - }, -});