Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

test: add && backport tests from webpack core #62

Merged
merged 28 commits into from
Jun 29, 2017

Conversation

hulkish
Copy link
Contributor

@hulkish hulkish commented Jun 29, 2017

Rebased to master version of #56 version

jharris4 and others added 9 commits June 29, 2017 00:24
added eslint-plugin-jest for tests, upgraded jest, babel-jest & webpack dev deps

cleanup, corrected snapshot test

fixed linting errors

added eslintignore for test stubs

corrected eslintignore paths

added codecov config

fixing codecov

corrected jest test/src/coverage paths

removed coverageDirectory: './coverage/' from jest config since it's default

separated snapshot tests

made createCompiler options replaceable, improved default options test

separated tests by logic into separate test files

improved snapshot tests

cleaned up stacktraces in snapshot output, to allow snapshots to not fail just because paths change in error stack

fix typo

cleaned up test compilation error stacks to be more generic

more cleanup
@michael-ciniawsky michael-ciniawsky changed the title test: from unit-tests branch rebased to master test: add && backported tests from webpack core Jun 29, 2017
@michael-ciniawsky michael-ciniawsky added this to the 1.0.0 milestone Jun 29, 2017
@michael-ciniawsky michael-ciniawsky changed the title test: add && backported tests from webpack core test: add && backport tests from webpack core Jun 29, 2017
@michael-ciniawsky
Copy link
Member

Error: Cannot find module 'jest-util' 😕

@michael-ciniawsky
Copy link
Member

michael-ciniawsky commented Jun 29, 2017

https://github.com/webpack-contrib/uglifyjs-webpack-plugin/blob/master/package.json#L21

- --runInBand

(but likely not, super awkward 😛 )

@joshwiens joshwiens merged commit 9621b73 into webpack-contrib:master Jun 29, 2017
joshwiens pushed a commit that referenced this pull request Jun 29, 2017
* fix(package): mv uglify2 to `dependencies` && update `peerDependencies` (#45)

* refactor: apply to `webpack-defaults`

* chore(package): update `webpack-defaults v1.0.1...1.4.0`

* chore: rm `yarn.lock`

* ported uglifyjs unit tests from webpack core repo
joshwiens pushed a commit that referenced this pull request Jun 29, 2017
* fix(package): mv uglify2 to `dependencies` && update `peerDependencies` (#45)

* refactor: apply to `webpack-defaults`

* chore(package): update `webpack-defaults v1.0.1...1.4.0`

* chore: rm `yarn.lock`

* ported uglifyjs unit tests from webpack core repo
@michael-ciniawsky michael-ciniawsky removed this from the 2.0.0 milestone Oct 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants