Skip to content

Commit

Permalink
fix automation (#825)
Browse files Browse the repository at this point in the history
* update auto

* ignore tests in node_modules

* ignore tests in node_modules

* correct changelog
  • Loading branch information
hipstersmoothie authored Nov 26, 2019
1 parent c4b621f commit 951c460
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
#### 🏠 Internal

- `@jimp/cli`, `@jimp/core`, `jimp`, `@jimp/plugin-blit`, `@jimp/plugin-blur`, `@jimp/plugin-color`, `@jimp/plugin-crop`, `@jimp/plugin-normalize`, `@jimp/plugin-resize`, `@jimp/plugin-rotate`, `@jimp/test-utils`, `@jimp/jpeg`, `@jimp/png`, `@jimp/tiff`, `@jimp/types`
- Upgrade nearly-all dev deps [#799](https://github.com/oliver-moran/jimp/pull/799) ([@popinguy](https://github.com/popinguy) [@hipstersmoothie](https://github.com/hipstersmoothie))
- Upgrade nearly-all dev deps [#799](https://github.com/oliver-moran/jimp/pull/799) ([@crutchcorn](https://github.com/crutchcorn))

#### 📝 Documentation

Expand All @@ -63,6 +63,7 @@
- [@popinguy](https://github.com/popinguy)
- Andrew Lisowski ([@hipstersmoothie](https://github.com/hipstersmoothie))
- Alexander Shcherbakov (alexander.shcherbakov@btsdigital.kz)
- Corbin Crutchley ([@crutchcorn](https://github.com/crutchcorn))

---

Expand Down
10 changes: 8 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
// Karma configuration
// Generated on Sat Jan 28 2017 19:40:10 GMT-0300 (BRT)
const { execSync } = require('child_process');

const allowed = `?(${execSync('ls packages', { encoding: 'utf8' })
.trim()
.split('\n')
.join('|')})`;

module.exports = function(config) {
config.set({
Expand All @@ -16,12 +22,12 @@ module.exports = function(config) {
},

preprocessors: {
'packages/**/**/*.js': 'browserify'
[`packages/${allowed}/test/**/*.js`]: 'browserify'
},

// list of files / patterns to load in the browser
files: [
'./packages/**/test/*.js',
`./packages/${allowed}/test/**/*.test.js`,
{
pattern: 'packages/**/test/images/**/*',
watched: false,
Expand Down

0 comments on commit 951c460

Please sign in to comment.