Skip to content

Conversation

@jhnns
Copy link
Member

@jhnns jhnns commented Mar 16, 2017

This PR adds all the tooling from webpack-defaults and simplifies the tests a little bit (it basically removes bootstrap as test fixture which is big but adds no additional value). It's the first step of a major refactoring.

jhnns added 18 commits March 9, 2017 15:51
to test/helpers/createSpec.js.

We are going to use ava and ava will ignore folders that are called "helpers" by default.
Less' internal file structure might change, but npm's is more stable.
Folders named "fixtures" are ignored by ava.
- Remove bootstrap. It's just big but adds almost now value to the tests.
- Move test node_modules into fixtures folder
- Do not use Less stdin since it produces wrong paths in some scenarios
- Add configurable lessOptions for each test id
- Fix linting errors
@jhnns jhnns merged commit 249e7fd into master Mar 16, 2017
@jhnns jhnns deleted the refactor/webpack-defaults branch March 16, 2017 16:44
@codecov
Copy link

codecov bot commented Mar 16, 2017

Codecov Report

Merging #162 into master will increase coverage by 0.49%.
The diff coverage is 92.72%.

@@            Coverage Diff             @@
##           master     #162      +/-   ##
==========================================
+ Coverage   92.72%   93.22%   +0.49%     
==========================================
  Files           2        2              
  Lines          55       59       +4     
  Branches        0        9       +9     
==========================================
+ Hits           51       55       +4     
  Misses          4        4
Impacted Files Coverage Δ
src/stringify.loader.js 100% <ø> (ø)
src/index.js 92.72% <92.72%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5777f31...62f98dc. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants