message: from done to async
diff: @@ -6,13 +6,11 @@ import SharpImage from '../util/SharpImage';
  const path = require('path');
  describe('HybridBinarizer', () => {
  - it('testHybridBinarizer', done => {
  + it('testHybridBinarizer', async () => {
  const pathString = path.resolve('src/test/resources/blackbox/common/simple.png');
  - SharpImage.loadWithRotation(pathString, 0)
  - .then(image => {
  -
  + const image = await SharpImage.loadWithRotation(pathString, 0);
  const source = new SharpImageLuminanceSource(image);
  const test = new HybridBinarizer(source);
  @@ -20,12 +18,5 @@ describe('HybridBinarizer', () => {
  assert.equal(0, matrix.get(13, 12));
  assert.equal(1, matrix.get(13, 13));
  -
  - done();
  - })
  - .catch(err => {
  - assert.ok(false, err);
  - done(err);
  - });
  });
  });
  