File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
const assert = require ( 'assert' ) ;
2
- const { resolve } = require ( 'path' ) ;
2
+ const path = require ( 'path' ) ;
3
3
4
4
const loaders = require ( '../../lib/loaders' ) ;
5
5
@@ -35,7 +35,7 @@ describe('loaders', () => {
35
35
describe ( 'loadParser' , ( ) => {
36
36
37
37
const PARSER_PATH = './test/fixtures/parser.js' ;
38
- const PARSER_PATH_ABSOLUTE = resolve ( PARSER_PATH ) ;
38
+ const PARSER_PATH_ABSOLUTE = path . resolve ( PARSER_PATH ) ;
39
39
40
40
it ( 'loads dox parser' , ( ) =>
41
41
loaders . loadParser ( { 'parser' : 'dox' } )
@@ -76,10 +76,10 @@ describe('loaders', () => {
76
76
describe ( 'loadPlugin' , ( ) => {
77
77
78
78
const TEMPLATE_PATH = './test/fixtures/template.hbs' ;
79
- const TEMPLATE_PATH_ABSOLUTE = resolve ( TEMPLATE_PATH ) ;
79
+ const TEMPLATE_PATH_ABSOLUTE = path . resolve ( TEMPLATE_PATH ) ;
80
80
81
81
const PLUGIN_PATH = './test/fixtures/plugin.js' ;
82
- const PLUGIN_PATH_ABSOLUTE = resolve ( PLUGIN_PATH ) ;
82
+ const PLUGIN_PATH_ABSOLUTE = path . resolve ( PLUGIN_PATH ) ;
83
83
84
84
it ( 'loads markdown plugin' , ( ) =>
85
85
loaders . loadPlugin ( { 'layout' : 'markdown' } )
You can’t perform that action at this time.
0 commit comments