import babel from 'rollup-plugin-babel';
import multiEntry from 'rollup-plugin-multi-entry';

export default {
  input: 'tests/**/*-test.js',
  external: [
    'ava',
    'expression-expander',
    'repository-provider',
    'github-repository-provider'
  ],

  plugins: [
    babel({
      babelrc: false,
      exclude: 'node_modules/**'
    }),
    multiEntry()
  ],

  output: {
    file: 'build/bundle-test.js',
    format: 'cjs',
    sourcemap: true
  }
};

@@ -160,16 +160,48 @@
  'ava',%0A
+    'mock-repository-provider',%0A
     'exp

declare mock-repository-provider as external