diff --git a/.travis.yml b/.travis.yml index f3da4fc1..c3c1ca60 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ sudo: false -dist: trusty + language: node_js branches: only: @@ -18,6 +18,11 @@ jobs: nodejs: 4.3 env: WEBPACK_VERSION=latest JOB_PART=test script: npm run travis:$JOB_PART + - <<: *test-latest + os: osx + node_js: 8 + env: WEBPACK_VERSION=latest JOB_PART=test + script: npm run travis:$JOB_PART - <<: *test-latest node_js: 8 env: WEBPACK_VERSION=latest JOB_PART=lint diff --git a/test/__snapshots__/es2015.test.js.snap b/test/__snapshots__/es2015.test.js.snap index 2972a568..31427d00 100644 --- a/test/__snapshots__/es2015.test.js.snap +++ b/test/__snapshots__/es2015.test.js.snap @@ -121,7 +121,7 @@ exports[`es6: main.96c5ba3d7f23066ac123.js 1`] = ` `; exports[`es6: manifest.a458e5044f91a97906ab.js 1`] = ` -"!(modules => { +"(modules => { function __webpack_require__(moduleId) { if (installedModules[moduleId]) return installedModules[moduleId].exports; var module = installedModules[moduleId] = { @@ -217,7 +217,7 @@ exports[`es7: main.96c5ba3d7f23066ac123.js 1`] = ` `; exports[`es7: manifest.a458e5044f91a97906ab.js 1`] = ` -"!(modules => { +"(modules => { function __webpack_require__(moduleId) { if (installedModules[moduleId]) return installedModules[moduleId].exports; var module = installedModules[moduleId] = { @@ -313,7 +313,7 @@ exports[`es8: main.96c5ba3d7f23066ac123.js 1`] = ` `; exports[`es8: manifest.a458e5044f91a97906ab.js 1`] = ` -"!(modules => { +"(modules => { function __webpack_require__(moduleId) { if (installedModules[moduleId]) return installedModules[moduleId].exports; var module = installedModules[moduleId] = {