Skip to content

Commit

Permalink
Fix code-style
Browse files Browse the repository at this point in the history
Closes GH-140.

Reviewed-by: Titus Wormer <tituswormer@gmail.com>
Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com>
  • Loading branch information
UnPolinomio authored Jun 18, 2021
1 parent 0f3b928 commit 115898a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion test/freeze.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

var test = require('tape')
var simple = require('./util/simple')
var simple = require('./util/simple.js')
var unified = require('..')

test('freeze()', function (t) {
Expand Down
18 changes: 9 additions & 9 deletions test/index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
'use strict'

/* eslint-disable import/no-unassigned-import */
require('./core')
require('./freeze')
require('./data')
require('./use')
require('./parse')
require('./run')
require('./stringify')
require('./process')
require('./core.js')
require('./freeze.js')
require('./data.js')
require('./use.js')
require('./parse.js')
require('./run.js')
require('./stringify.js')
require('./process.js')

var asyncfunctions = false

Expand All @@ -19,7 +19,7 @@ try {

console.log('asyncfunctions:', asyncfunctions)
if (asyncfunctions) {
require('./async-function')
require('./async-function.js')
}

/* eslint-enable import/no-unassigned-import */
4 changes: 2 additions & 2 deletions test/process.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

var test = require('tape')
var vfile = require('vfile')
var simple = require('./util/simple')
var noop = require('./util/noop')
var simple = require('./util/simple.js')
var noop = require('./util/noop.js')
var unified = require('..')

test('process(file, done)', function (t) {
Expand Down
2 changes: 1 addition & 1 deletion test/stringify.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

var test = require('tape')
var vfile = require('vfile')
var noop = require('./util/noop')
var noop = require('./util/noop.js')
var unified = require('..')

test('stringify(node[, file])', function (t) {
Expand Down

0 comments on commit 115898a

Please sign in to comment.