Skip to content
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.

Commit

Permalink
Touchup.
Browse files Browse the repository at this point in the history
  • Loading branch information
millette committed Jul 28, 2018
1 parent 0359822 commit 68a137c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import test from 'ava'
import fn from './'

import fs from 'fs'
import { readFile } from 'fs'

test('millette', async t => {
const result = await fn('millette')
Expand Down Expand Up @@ -44,7 +44,7 @@ test('some commits', async t => {
})

test('buggy svg', t => {
fs.readFile('buggy-contrib.svg', 'utf8', (err, gg) => {
readFile('buggy-contrib.svg', 'utf8', (err, gg) => {
t.falsy(err)
fn.fetchContribs(gg).then(result => {
t.truthy(result.length <= 365)
Expand All @@ -53,7 +53,7 @@ test('buggy svg', t => {
})

test('ok svg', t => {
fs.readFile('ok-contrib.svg', 'utf8', (err, gg) => {
readFile('ok-contrib.svg', 'utf8', (err, gg) => {
t.falsy(err)
fn.fetchContribs(gg).then(result => {
t.truthy(result.length >= 366)
Expand Down

0 comments on commit 68a137c

Please sign in to comment.