Skip to content

Commit

Permalink
Use full require path in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaly Puzrin committed Jun 25, 2020
1 parent e948fcb commit 20e44a3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/brightness.js
Expand Up @@ -3,7 +3,7 @@
'use strict';


const pica = require('../')();
const pica = require('../index.js')();
const assert = require('assert');


Expand Down
2 changes: 1 addition & 1 deletion test/fixture_resize.js
Expand Up @@ -4,7 +4,7 @@

const fs = require('fs');
const path = require('path');
const pica = require('../');
const pica = require('../index.js');
const pixelmatch = require('pixelmatch');

const ppm = require('./ppm');
Expand Down
2 changes: 1 addition & 1 deletion test/pica.js
@@ -1,7 +1,7 @@
'use strict';


const _pica = require('../');
const _pica = require('../index.js');
const assert = require('assert');
const { createCanvas } = require('canvas');

Expand Down
2 changes: 1 addition & 1 deletion test/unsharp.js
@@ -1,6 +1,6 @@
'use strict';

const pica = require('../')();
const pica = require('../index.js')();
const assert = require('assert');

describe('Unsharp mask', function () {
Expand Down

0 comments on commit 20e44a3

Please sign in to comment.