Skip to content

Commit

Permalink
Fixing Windows test and add badge
Browse files Browse the repository at this point in the history
  • Loading branch information
LasaleFamine committed Aug 31, 2017
1 parent 5411c6e commit 422b971
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![GitHub release](https://img.shields.io/github/release/PolymerX/postcss-html-loader.svg?style=flat-square)](https://github.com/PolymerX/postcss-html-loader)
[![Build Status](https://travis-ci.org/PolymerX/postcss-html-loader.svg?branch=master&style=flat-square)](https://travis-ci.org/PolymerX/postcss-html-loader)
[![Build status](https://ci.appveyor.com/api/projects/status/0ksik9f3euryjq9x?svg=true)](https://ci.appveyor.com/project/LasaleFamine/postcss-html-loader)
[![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)
[![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square)](https://github.com/sindresorhus/xo)
[![postcss-html-loader](https://img.shields.io/badge/polymerX-postcss--html--loader-red.svg?style=flat-square)](https://github.com/PolymerX/postcss-html-loader)
Expand Down
3 changes: 2 additions & 1 deletion test/units/full-path.test.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import {join} from 'path';
import test from 'ava';
import fullPath from '../../src/lib/full-path';

test('fullPath()', t => {
t.is(
fullPath('test.postcss', '/my/dir/file.html'),
'/my/dir/test.postcss',
join('my', 'dir', 'test.postcss'),
'should return the full path of a source based on the path of the resource file'
);
});

0 comments on commit 422b971

Please sign in to comment.