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 22
33[ ![ GitHub release] ( https://img.shields.io/github/release/PolymerX/postcss-html-loader.svg?style=flat-square )] ( https://github.com/PolymerX/postcss-html-loader )
44[ ![ 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 )
56[ ![ 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 )
67[ ![ XO code style] ( https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square )] ( https://github.com/sindresorhus/xo )
78[ ![ 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' ;
12import test from 'ava' ;
23import fullPath from '../../src/lib/full-path' ;
34
45test ( 'fullPath()' , t => {
56 t . is (
67 fullPath ( 'test.postcss' , '/my/dir/file.html' ) ,
7- '/my/ dir/ test.postcss',
8+ join ( 'my' , ' dir' , ' test.postcss') ,
89 'should return the full path of a source based on the path of the resource file'
910 ) ;
1011} ) ;
You can’t perform that action at this time.
0 commit comments