You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Yes, sure! You can do:

    if (process.env.BOARD=="EMSCRIPTEN") {
     ...
    }
    

    You could even set certain values in there, for example Bangle.isCharging = ()=>false;

    just simple Bangle.isCharging() ... and that course the emulator to fail.

    That's odd - just tried it here and it seems to work fine?

About

Avatar for Gordon @Gordon started