Skip to content

Commit f245758

Browse files
committed
updated tests
1 parent 2eb1f22 commit f245758

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "img2ascii",
3-
"version": "1.3.2",
3+
"version": "1.3.3",
44
"description": "Convert images (local or url) to ascii art",
55
"main": "img2ascii.js",
66
"scripts": {

test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ tap.test('Probably fine', t => {
77
t.end()
88
})
99

10-
tap.test('Network call', t =>
10+
tap.test('File load', t =>
1111
require('./img2ascii')({
12-
_: ['https://www.google.ch/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png'],
13-
c: 30,
14-
cols: 30,
15-
r: 0.6,
16-
ratio: 0.6,
12+
_: ['doge.png'],
13+
c: 40,
14+
cols: 40,
15+
r: 0.8,
16+
ratio: 0.8,
1717
}).on('end', () => {
1818
t.pass('Volkswagen')
1919
t.end()

0 commit comments

Comments
 (0)