Created
October 28, 2016 03:30
-
-
Save mercmobily/deb81c22fd80fc8c6324fe060b73d46d to your computer and use it in GitHub Desktop.
Trying to use print-analysis-warnings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/Polymer/polymer-build.git | |
Cloning into 'polymer-build'... | |
remote: Counting objects: 3911, done. | |
remote: Compressing objects: 100% (17/17), done. | |
remote: Total 3911 (delta 4), reused 0 (delta 0), pack-reused 3894 | |
Receiving objects: 100% (3911/3911), 19.04 MiB | 143.00 KiB/s, done. | |
Resolving deltas: 100% (1967/1967), done. | |
Checking connectivity... done. | |
root@mercs-thinkpad /usr/local/lib/node_modules/polymer-cli/node_modules # git checkout print-analysis-warnings | |
fatal: Not a git repository (or any parent up to mount point /disk) | |
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). | |
root@mercs-thinkpad /usr/local/lib/node_modules/polymer-cli/node_modules # cd polymer-build | |
root@mercs-thinkpad /usr/local/lib/node_modules/polymer-cli/node_modules/polymer-build (master=) # git checkout print-analysis-warnings | |
Branch print-analysis-warnings set up to track remote branch print-analysis-warnings from origin. | |
Switched to a new branch 'print-analysis-warnings' | |
root@mercs-thinkpad /usr/local/lib/node_modules/polymer-cli/node_modules/polymer-build (print-analysis-warnings=) # npm install | |
inpm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue | |
|\ | |
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade | |
npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead. | |
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue | |
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0. | |
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue | |
npm WARN deprecated graceful-fs@1.2.3: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. | |
> typings-global@1.0.14 postinstall /disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/node_modules/gulp-typings/node_modules/typings-global | |
> node ./dist/install.js | |
@types/node not yet installed | |
Your node version is 4.4.4 | |
Trying to install node typings in matching version... | |
@types/node@4.0.30 node_modules/@types/node | |
npm WARN cannot run in wd polymer-build@0.4.1 gulp lint test (wd=/disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build) | |
polymer-project-config@1.0.2 node_modules/polymer-project-config | |
@types/fs-extra@0.0.32 node_modules/@types/fs-extra | |
└── @types/node@6.0.46 | |
@types/vinyl@1.2.30 node_modules/@types/vinyl | |
└── @types/node@6.0.46 | |
temp@0.8.3 node_modules/temp | |
├── os-tmpdir@1.0.2 | |
└── rimraf@2.2.8 | |
vinyl@1.2.0 node_modules/vinyl | |
├── clone-stats@0.0.1 | |
├── replace-ext@0.0.1 | |
└── clone@1.0.2 | |
merge-stream@1.0.0 node_modules/merge-stream | |
└── readable-stream@2.1.5 (buffer-shims@1.0.0, string_decoder@0.10.31, inherits@2.0.3, util-deprecate@1.0.2, process-nextick-args@1.0.7, core-util-is@1.0.2, isarray@1.0.0) | |
minimatch-all@1.1.0 node_modules/minimatch-all | |
└── minimatch@3.0.3 (brace-expansion@1.1.6) | |
multipipe@0.3.1 node_modules/multipipe | |
└── duplexer2@0.1.4 (readable-stream@2.1.5) | |
chai@3.5.0 node_modules/chai | |
├── assertion-error@1.0.2 | |
├── type-detect@1.0.0 | |
└── deep-eql@0.1.3 (type-detect@0.1.1) | |
@types/vinyl-fs@0.0.28 node_modules/@types/vinyl-fs | |
├── @types/node@6.0.46 | |
└── @types/glob-stream@3.1.30 (@types/glob@5.0.30) | |
dom5@1.3.6 node_modules/dom5 | |
├── @types/clone@0.1.30 | |
├── @types/node@4.0.30 | |
├── clone@1.0.2 | |
├── @types/parse5@0.0.31 (@types/node@6.0.46) | |
└── parse5@1.5.1 | |
sinon@1.17.6 node_modules/sinon | |
├── formatio@1.1.1 | |
├── samsam@1.1.2 | |
├── lolex@1.3.2 | |
└── util@0.10.3 (inherits@2.0.1) | |
plylog@0.4.0 node_modules/plylog | |
└── winston@2.2.0 (cycle@1.0.3, stack-trace@0.0.9, eyes@0.1.8, isstream@0.1.2, async@1.0.0, pkginfo@0.3.1, colors@1.0.3) | |
del@2.2.2 node_modules/del | |
├── is-path-cwd@1.0.0 | |
├── object-assign@4.1.0 | |
├── pify@2.3.0 | |
├── pinkie-promise@2.0.1 (pinkie@2.0.4) | |
├── is-path-in-cwd@1.0.0 (is-path-inside@1.0.0) | |
├── globby@5.0.0 (arrify@1.0.1, array-union@1.0.2, glob@7.1.1) | |
└── rimraf@2.5.4 (glob@7.1.1) | |
fs-extra@0.30.0 node_modules/fs-extra | |
├── path-is-absolute@1.0.1 | |
├── klaw@1.3.1 | |
├── jsonfile@2.4.0 | |
├── graceful-fs@4.1.9 | |
└── rimraf@2.5.4 (glob@7.1.1) | |
sw-precache@3.2.0 node_modules/sw-precache | |
├── lodash.defaults@4.2.0 | |
├── pretty-bytes@3.0.1 (number-is-nan@1.0.1) | |
├── lodash.template@4.4.0 (lodash._reinterpolate@3.0.0, lodash.templatesettings@4.1.0) | |
├── es6-promise@3.3.1 | |
├── dom-urls@1.1.0 (urijs@1.18.2) | |
├── mkdirp@0.5.1 (minimist@0.0.8) | |
├── glob@6.0.4 (path-is-absolute@1.0.1, inherits@2.0.3, once@1.4.0, inflight@1.0.6, minimatch@3.0.3) | |
├── sw-toolbox@3.4.0 (serviceworker-cache-polyfill@4.0.0, path-to-regexp@1.6.0) | |
└── meow@3.7.0 (map-obj@1.0.1, decamelize@1.2.0, trim-newlines@1.0.0, object-assign@4.1.0, minimist@1.2.0, camelcase-keys@2.1.0, loud-rejection@1.6.0, redent@1.0.0, normalize-package-data@2.3.5, read-pkg-up@1.0.1) | |
vinyl-fs@2.4.4 node_modules/vinyl-fs | |
├── vali-date@1.0.0 | |
├── is-valid-glob@0.3.0 | |
├── object-assign@4.1.0 | |
├── lodash.isequal@4.4.0 | |
├── graceful-fs@4.1.9 | |
├── lazystream@1.0.0 | |
├── strip-bom-stream@1.0.0 (first-chunk-stream@1.0.0) | |
├── strip-bom@2.0.0 (is-utf8@0.2.1) | |
├── through2-filter@2.0.0 (xtend@4.0.1) | |
├── gulp-sourcemaps@1.6.0 (convert-source-map@1.3.0) | |
├── readable-stream@2.1.5 (buffer-shims@1.0.0, string_decoder@0.10.31, inherits@2.0.3, process-nextick-args@1.0.7, util-deprecate@1.0.2, core-util-is@1.0.2, isarray@1.0.0) | |
├── mkdirp@0.5.1 (minimist@0.0.8) | |
├── through2@2.0.1 (xtend@4.0.1, readable-stream@2.0.6) | |
├── duplexify@3.5.0 (inherits@2.0.3, stream-shift@1.0.0, end-of-stream@1.0.0) | |
└── glob-stream@5.3.5 (extend@3.0.0, ordered-read-streams@0.3.0, to-absolute-glob@0.1.1, glob-parent@3.0.1, through2@0.6.5, unique-stream@2.2.1, glob@5.0.15, micromatch@2.3.11) | |
run-sequence@1.2.2 node_modules/run-sequence | |
├── chalk@1.1.3 (escape-string-regexp@1.0.5, ansi-styles@2.2.1, supports-color@2.0.0, strip-ansi@3.0.1, has-ansi@2.0.0) | |
└── gulp-util@3.0.7 (array-differ@1.0.0, object-assign@3.0.0, lodash._reinterpolate@3.0.0, beeper@1.1.0, lodash._reevaluate@3.0.0, array-uniq@1.0.3, lodash._reescape@3.0.0, replace-ext@0.0.1, has-gulplog@0.1.0, minimist@1.2.0, fancy-log@1.2.0, vinyl@0.5.3, gulplog@1.0.0, lodash.template@3.6.2, through2@2.0.1, multipipe@0.1.2, dateformat@1.0.12) | |
vulcanize@1.14.8 node_modules/vulcanize | |
├── path-posix@1.0.0 | |
├── nopt@3.0.6 (abbrev@1.0.9) | |
├── es6-promise@2.3.0 | |
└── update-notifier@0.6.3 (is-npm@1.0.0, semver-diff@2.1.0, chalk@1.1.3, boxen@0.3.1, configstore@2.1.0, latest-version@2.0.0) | |
gulp-tslint@6.1.2 node_modules/gulp-tslint | |
├── map-stream@0.1.0 | |
├── through@2.3.8 | |
└── gulp-util@3.0.7 (array-differ@1.0.0, beeper@1.1.0, array-uniq@1.0.3, lodash._reevaluate@3.0.0, lodash._reescape@3.0.0, lodash._reinterpolate@3.0.0, object-assign@3.0.0, replace-ext@0.0.1, has-gulplog@0.1.0, fancy-log@1.2.0, minimist@1.2.0, vinyl@0.5.3, chalk@1.1.3, lodash.template@3.6.2, gulplog@1.0.0, through2@2.0.1, multipipe@0.1.2, dateformat@1.0.12) | |
vinyl-fs-fake@1.1.0 node_modules/vinyl-fs-fake | |
├── vinyl@0.4.6 (clone-stats@0.0.1, clone@0.2.0) | |
├── through2@0.6.5 (xtend@4.0.1, readable-stream@1.0.34) | |
└── vinyl-fs@0.3.14 (strip-bom@1.0.0, defaults@1.0.3, graceful-fs@3.0.11, mkdirp@0.5.1, glob-stream@3.1.18, glob-watcher@0.0.6) | |
gulp@3.9.1 node_modules/gulp | |
├── interpret@1.0.1 | |
├── pretty-hrtime@1.0.2 | |
├── deprecated@0.0.1 | |
├── archy@1.0.0 | |
├── minimist@1.2.0 | |
├── tildify@1.2.0 (os-homedir@1.0.2) | |
├── v8flags@2.0.11 (user-home@1.1.1) | |
├── semver@4.3.6 | |
├── chalk@1.1.3 (escape-string-regexp@1.0.5, ansi-styles@2.2.1, supports-color@2.0.0, strip-ansi@3.0.1, has-ansi@2.0.0) | |
├── orchestrator@0.3.7 (stream-consume@0.1.0, sequencify@0.0.7, end-of-stream@0.1.5) | |
├── liftoff@2.3.0 (lodash.isplainobject@4.0.6, lodash.isstring@4.0.1, lodash.mapvalues@4.6.0, rechoir@0.6.2, extend@3.0.0, flagged-respawn@0.3.2, resolve@1.1.7, fined@1.0.2, findup-sync@0.4.3) | |
├── gulp-util@3.0.7 (array-differ@1.0.0, lodash._reevaluate@3.0.0, lodash._reescape@3.0.0, lodash._reinterpolate@3.0.0, object-assign@3.0.0, array-uniq@1.0.3, beeper@1.1.0, replace-ext@0.0.1, has-gulplog@0.1.0, fancy-log@1.2.0, vinyl@0.5.3, lodash.template@3.6.2, gulplog@1.0.0, through2@2.0.1, multipipe@0.1.2, dateformat@1.0.12) | |
└── vinyl-fs@0.3.14 (strip-bom@1.0.0, defaults@1.0.3, vinyl@0.4.6, graceful-fs@3.0.11, through2@0.6.5, mkdirp@0.5.1, glob-stream@3.1.18, glob-watcher@0.0.6) | |
gulp-mocha@2.2.0 node_modules/gulp-mocha | |
├── resolve-from@1.0.1 | |
├── through@2.3.8 | |
├── plur@2.1.2 (irregular-plurals@1.2.0) | |
├── gulp-util@3.0.7 (array-differ@1.0.0, lodash._reescape@3.0.0, lodash._reevaluate@3.0.0, lodash._reinterpolate@3.0.0, object-assign@3.0.0, array-uniq@1.0.3, beeper@1.1.0, replace-ext@0.0.1, has-gulplog@0.1.0, fancy-log@1.2.0, minimist@1.2.0, vinyl@0.5.3, chalk@1.1.3, gulplog@1.0.0, lodash.template@3.6.2, through2@2.0.1, multipipe@0.1.2, dateformat@1.0.12) | |
└── mocha@2.5.3 (escape-string-regexp@1.0.2, commander@2.3.0, diff@1.4.0, growl@1.9.2, supports-color@1.2.0, to-iso-string@0.0.2, debug@2.2.0, mkdirp@0.5.1, glob@3.2.11, jade@0.26.3) | |
gulp-typescript@2.14.1 node_modules/gulp-typescript | |
├── source-map@0.5.6 | |
├── through2@2.0.1 (xtend@4.0.1, readable-stream@2.0.6) | |
├── gulp-util@3.0.7 (array-differ@1.0.0, array-uniq@1.0.3, beeper@1.1.0, lodash._reevaluate@3.0.0, lodash._reescape@3.0.0, lodash._reinterpolate@3.0.0, object-assign@3.0.0, replace-ext@0.0.1, has-gulplog@0.1.0, fancy-log@1.2.0, minimist@1.2.0, vinyl@0.5.3, chalk@1.1.3, lodash.template@3.6.2, gulplog@1.0.0, multipipe@0.1.2, dateformat@1.0.12) | |
└── typescript@1.8.10 | |
typescript@2.0.6 node_modules/typescript | |
gulp-typings@2.0.4 node_modules/gulp-typings | |
├── through2@2.0.1 (xtend@4.0.1, readable-stream@2.0.6) | |
├── typings-core@1.6.0 (array-uniq@1.0.3, thenify@3.2.1, popsicle-rewrite@1.0.0, popsicle-status@2.0.0, zip-object@0.1.0, popsicle-retry@3.2.1, listify@1.0.0, graceful-fs@4.1.9, throat@3.0.0, promise-finally@2.2.1, xtend@4.0.1, lockfile@1.0.2, string-template@1.0.0, strip-bom@2.0.0, sort-keys@1.1.2, any-promise@1.3.0, object.pick@1.2.0, parse-json@2.2.0, make-error-cause@1.2.2, debug@2.2.0, has@1.0.1, is-absolute@0.2.6, mkdirp@0.5.1, rc@1.1.6, invariant@2.2.1, touch@1.0.0, detect-indent@4.0.0, rimraf@2.5.4, popsicle-proxy-agent@3.0.0, configstore@2.1.0, popsicle@8.2.0) | |
└── typings-global@1.0.14 (semver@5.3.0, shelljs@0.7.5) | |
tslint@3.15.1 node_modules/tslint | |
├── colors@1.1.2 | |
├── diff@2.2.3 | |
├── glob@7.1.1 (path-is-absolute@1.0.1, inherits@2.0.3, fs.realpath@1.0.0, once@1.4.0, inflight@1.0.6, minimatch@3.0.3) | |
├── optimist@0.6.1 (wordwrap@0.0.3, minimist@0.0.10) | |
├── findup-sync@0.3.0 (glob@5.0.15) | |
├── resolve@1.1.7 | |
└── underscore.string@3.3.4 (util-deprecate@1.0.2, sprintf-js@1.0.3) | |
polymer-analyzer@2.0.0-alpha.10 node_modules/polymer-analyzer | |
├── @types/escodegen@0.0.2 | |
├── @types/doctrine@0.0.1 | |
├── @types/estree@0.0.30 | |
├── @types/parse5@0.0.27 | |
├── @types/estraverse@0.0.2 | |
├── strip-indent@2.0.0 | |
├── @types/chalk@0.4.31 | |
├── @types/clone@0.1.30 | |
├── @types/node@4.0.30 | |
├── clone@2.0.0 | |
├── estraverse@3.1.0 | |
├── cssbeautify@0.3.1 | |
├── performance-now@0.2.0 | |
├── jsonschema@1.1.0 | |
├── doctrine@0.7.2 (isarray@0.0.1, esutils@1.1.6) | |
├── parse5@2.2.3 | |
├── split@1.0.0 (through@2.3.8) | |
├── shady-css-parser@0.0.8 | |
├── chalk@1.1.3 (escape-string-regexp@1.0.5, supports-color@2.0.0, ansi-styles@2.2.1, has-ansi@2.0.0, strip-ansi@3.0.1) | |
├── escodegen@1.8.1 (estraverse@1.9.3, esutils@2.0.2, esprima@2.7.3, optionator@0.8.2, source-map@0.2.0) | |
└── espree@3.3.2 (acorn@4.0.3, acorn-jsx@3.0.1) | |
hydrolysis@1.24.1 node_modules/hydrolysis | |
├── path-is-absolute@1.0.1 | |
├── estraverse@3.1.0 | |
├── doctrine@0.7.2 (isarray@0.0.1, esutils@1.1.6) | |
├── escodegen@1.8.1 (estraverse@1.9.3, esutils@2.0.2, esprima@2.7.3, optionator@0.8.2, source-map@0.2.0) | |
├── espree@3.3.2 (acorn@4.0.3, acorn-jsx@3.0.1) | |
└── babel-polyfill@6.16.0 (regenerator-runtime@0.9.5, babel-runtime@6.18.0, core-js@2.4.1) | |
depcheck@0.6.4 node_modules/depcheck | |
├── deps-regex@0.1.4 | |
├── require-package-name@2.0.1 | |
├── deprecate@0.1.0 | |
├── builtin-modules@1.1.1 | |
├── babylon@6.13.1 | |
├── minimatch@3.0.3 (brace-expansion@1.1.6) | |
├── walkdir@0.0.11 | |
├── js-yaml@3.6.1 (esprima@2.7.3, argparse@1.0.9) | |
├── yargs@4.8.1 (get-caller-file@1.0.2, decamelize@1.2.0, lodash.assign@4.2.0, y18n@3.2.1, which-module@1.0.0, set-blocking@2.0.0, window-size@0.2.0, require-main-filename@1.0.1, require-directory@2.1.1, yargs-parser@2.4.1, cliui@3.2.0, string-width@1.0.2, os-locale@1.4.0, read-pkg-up@1.0.1) | |
├── lodash@4.16.4 | |
└── babel-traverse@6.18.0 (babel-messages@6.8.0, globals@9.12.0, debug@2.2.0, invariant@2.2.1, babel-types@6.18.0, babel-code-frame@6.16.0, babel-runtime@6.18.0) | |
gulp-eslint@2.1.0 node_modules/gulp-eslint | |
├── object-assign@4.1.0 | |
├── bufferstreams@1.1.1 (readable-stream@2.1.5) | |
├── gulp-util@3.0.7 (array-differ@1.0.0, object-assign@3.0.0, beeper@1.1.0, lodash._reescape@3.0.0, lodash._reinterpolate@3.0.0, array-uniq@1.0.3, lodash._reevaluate@3.0.0, replace-ext@0.0.1, has-gulplog@0.1.0, minimist@1.2.0, fancy-log@1.2.0, vinyl@0.5.3, chalk@1.1.3, gulplog@1.0.0, lodash.template@3.6.2, through2@2.0.1, multipipe@0.1.2, dateformat@1.0.12) | |
└── eslint@2.13.1 (path-is-inside@1.0.2, path-is-absolute@1.0.1, imurmurhash@0.1.4, ignore@3.2.0, pluralize@1.2.1, globals@9.12.0, estraverse@4.2.0, strip-json-comments@1.0.4, esutils@2.0.2, progress@1.1.8, text-table@0.2.0, user-home@2.0.0, debug@2.2.0, doctrine@1.5.0, optionator@0.8.2, levn@0.3.0, is-resolvable@1.0.0, shelljs@0.6.1, json-stable-stringify@1.0.1, require-uncached@1.0.2, mkdirp@0.5.1, concat-stream@1.5.2, file-entry-cache@1.3.1, chalk@1.1.3, glob@7.1.1, is-my-json-valid@2.15.0, espree@3.3.2, inquirer@0.12.0, js-yaml@3.6.1, table@3.8.3, es6-map@0.1.4, escope@3.6.0, lodash@4.16.4) | |
root@mercs-thinkpad /usr/local/lib/node_modules/polymer-cli/node_modules/polymer-build (print-analysis-warnings=) # npm run-script prepublish | |
> polymer-build@0.4.1 prepublish /disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build | |
> gulp lint test | |
[11:28:50] Using gulpfile /disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/gulpfile.js | |
[11:28:50] Starting 'tslint'... | |
[11:28:50] Starting 'eslint'... | |
[11:28:50] Starting 'depcheck'... | |
[11:28:50] Starting 'clean'... | |
[11:28:50] Finished 'clean' after 10 ms | |
[11:28:50] Starting 'build'... | |
[11:28:52] Finished 'depcheck' after 2.57 s | |
[11:28:53] Finished 'tslint' after 2.97 s | |
[11:28:53] Finished 'eslint' after 2.96 s | |
[11:28:53] Starting 'lint'... | |
[11:28:53] Finished 'lint' after 14 μs | |
/disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/node_modules/polymer-analyzer/node_modules/@types/parse5/index.d.ts(6,1): message TS4090: Conflicting definitions for 'node' found at '/disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/node_modules/polymer-analyzer/node_modules/@types/node/index.d.ts' and '/disk/local/lib/node_modules/polymer-cli/node_modules/polymer-build/node_modules/dom5/node_modules/@types/parse5/node_modules/@types/node/index.d.ts'. Consider installing a specific version of this library to resolve the conflict. | |
src/analyzer.ts(236,5): error TS2346: Supplied parameters do not match any signature of call target. | |
src/analyzer.ts(236,35): error TS7006: Parameter 'w' implicitly has an 'any' type. | |
[11:28:54] TypeScript: 3 semantic errors | |
[11:28:54] TypeScript: emit succeeded (with errors) | |
[11:28:54] Finished 'build' after 3.91 s | |
[11:28:54] Starting 'test'... | |
Analyzer | |
error: In index.html: [parse-error] - Unexpected token < | |
✓ the analyzer stream will emit an error when an warning of type "error" occurs during analysis (55ms) | |
error: In index.html: [parse-error] - Unexpected token < | |
✓ the analyzer stream will log all analysis warnings at the end of the stream | |
DepsIndex | |
✓ fragment to deps list has only uniques | |
✓ analyzing shell and entrypoint doesn't double load files | |
.dependencies | |
✓ outputs all dependencies needed by source | |
✓ outputs all dependencies needed by source and given fragments | |
Bundler | |
✓ entrypoint only | |
info: generating shared bundle... | |
✓ two fragments | |
- shell and entrypoint | |
✓ shell and fragments with shared dependency | |
- entrypoint and fragments | |
PolymerProject | |
✓ will not throw an exception when created with minimum options | |
✓ reads sources | |
✓ splits and rejoins scripts | |
✓ split/rejoin deals with bad paths | |
.dependencies() | |
✓ reads dependencies | |
✓ reads dependencies in a monolithic (non-shell) application without timing out | |
✓ reads dependencies and includes additionally provided files (41ms) | |
service-worker | |
generateServiceWorker() | |
✓ should throw when options are not provided | |
✓ should throw when options.project is not provided | |
✓ should throw when options.buildRoot is not provided | |
✓ should not modify the options object provided when called | |
✓ should resolve with a Buffer representing the generated service worker code | |
✓ should add unbundled precached assets when options.unbundled is not provided | |
✓ should add bundled precached assets when options.bundled is provided | |
✓ should add provided staticFileGlobs paths to the final list | |
addServiceWorker() | |
✓ should write generated service worker to file system | |
urlFromPath() | |
✓ throws error when path is not in root | |
✓ creates a URL path relative to root when called in a Posix environment | |
27 passing (754ms) | |
2 pending | |
[11:28:55] Finished 'test' after 1.41 s | |
root@mercs-thinkpad /usr/local/lib/node_modules/polymer-cli/node_modules/polymer-build (print-analysis-warnings=) # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment