File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
[ ![ GitHub release] ( https://img.shields.io/github/release/PolymerX/postcss-html-loader.svg?style=flat-square )] ( https://github.com/PolymerX/postcss-html-loader )
4
4
[ ![ Build Status] ( https://travis-ci.org/PolymerX/postcss-html-loader.svg?branch=master&style=flat-square )] ( https://travis-ci.org/PolymerX/postcss-html-loader )
5
+ [ ![ Build status] ( https://ci.appveyor.com/api/projects/status/0ksik9f3euryjq9x?svg=true )] ( https://ci.appveyor.com/project/LasaleFamine/postcss-html-loader )
5
6
[ ![ Coverage Status] ( https://coveralls.io/repos/github/PolymerX/postcss-html-loader/badge.svg?branch=master&style=flat-square )] ( https://coveralls.io/github/PolymerX/postcss-html-loader?branch=master )
6
7
[ ![ XO code style] ( https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square )] ( https://github.com/sindresorhus/xo )
7
8
[ ![ postcss-html-loader] ( https://img.shields.io/badge/polymerX-postcss--html--loader-red.svg?style=flat-square )] ( https://github.com/PolymerX/postcss-html-loader )
Original file line number Diff line number Diff line change
1
+ import { join } from 'path' ;
1
2
import test from 'ava' ;
2
3
import fullPath from '../../src/lib/full-path' ;
3
4
4
5
test ( 'fullPath()' , t => {
5
6
t . is (
6
7
fullPath ( 'test.postcss' , '/my/dir/file.html' ) ,
7
- '/my/ dir/ test.postcss',
8
+ join ( 'my' , ' dir' , ' test.postcss') ,
8
9
'should return the full path of a source based on the path of the resource file'
9
10
) ;
10
11
} ) ;
You can’t perform that action at this time.
0 commit comments