Nyalab / caniuse-api

request the caniuse data to check browsers compatibilities
MIT License
356 stars 27 forks source link

Fix real world usage of caniuse-db #17

Closed MoOx closed 9 years ago

MoOx commented 9 years ago

When you are in a project that use caniuse-api in node_modules, caniuse-db is in node_modules/caniuse-api/node_modules/caniuse-db and since fs use process.cwd() to resolve relative filename, this cannot really be tested automatically (since tests are run from caniuse-api folder.