Skip to content

Commit

Permalink
Merge 3195b15 into 47510e6
Browse files Browse the repository at this point in the history
  • Loading branch information
dubzzz committed Aug 23, 2018
2 parents 47510e6 + 3195b15 commit 22263e4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -45,7 +45,7 @@ jobs:
- stage: test
env: STEP=ROLLUP
script:
- npm run build
- npm run build:publish-esm
- npm run test:rollup
- stage: publish documentation
if: branch = master AND type = push
Expand Down
2 changes: 1 addition & 1 deletion test/rollup/main.js
@@ -1,2 +1,2 @@
const fc = require('../../lib/fast-check');
import * as fc from '../../lib/esm/fast-check';
console.log(fc.sample(fc.lorem(), {seed: 42, numRuns: 5}));
8 changes: 0 additions & 8 deletions test/rollup/rollup.config.js
Expand Up @@ -8,12 +8,4 @@ export default {
format: 'cjs'
},
plugins: [ resolve(), cjs() ],

// (!) Unresolved dependencies -- os (imported by node_modules\lorem-ipsum\lib\generator.js, commonjs-external:os)
external: [ 'os' ],
// (!) `this` has been rewritten to `undefined`
onwarn: function ({code, message}) {
if (code === 'THIS_IS_UNDEFINED') return;
console.error(message);
}
};

0 comments on commit 22263e4

Please sign in to comment.