Polymer / tattoo

Test All The Things Over and Over
BSD 3-Clause "New" or "Revised" License
12 stars 3 forks source link

tattoo looks for WCT in wrong directory #57

Open tomalec opened 7 years ago

tomalec commented 7 years ago

I get an error:

The web-component-tester Bower package is not installed as a dependency of this project

Even though my bower.json does have:

  "devDependencies": {
    "web-component-tester": "^6.0.0",
    "polymer": "^1.9.1",
    "document-register-element": "^1.5.0"
  }

It seems it looks up in wrong directory:

Expected to find a package.json or bower.json or .bower.json at: D:\repos\PolymerPlayground\tattoo2\tattoo_workspace\my-element\bower_components\web-component-tester/

as all dependencies are directly in tattoo_workspace directory

$ ls tattoo_workspace/my-element/
bower.json       Gruntfile.js  README.md                 test/
CONTRIBUTING.md  LICENSE       sc/                       wct.conf.json
demo/            package.json  my-element.html

$ ls tattoo_workspace/web-component-tester/
bower.json  browser.js  browser.js.map  data/  package.json