Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for a $400 discount.
Register nowGet inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.
Hello there,
I am trying to write test for my custom visual by following guide on https://microsoft.github.io/PowerBI-visuals/docs/how-to-guide/unit-tests-introduction/
but I am facing following error
Chrome 71.0.3578 (Windows 10.0.0) ERROR Uncaught SyntaxError: Unexpected token { at node_modules/powerbi-visuals-utils-testutils/lib/index.js:1 Chrome 71.0.3578 (Windows 10.0.0) ERROR Uncaught SyntaxError: Unexpected token { at node_modules/powerbi-visuals-utils-testutils/lib/index.js:1
I am using PBIVIZ v3.x.x to develop custom visual.
How do I resolve this error? Where can I find updated guide on testing custom visual using new pbiviz tools?
What version of powerbi-visuals-utils-testutils are you using?
Is there a possibility to share source code?
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!
Check out the February 2025 Power BI update to learn about new features.
User | Count |
---|---|
16 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
14 | |
6 | |
3 | |
3 | |
2 |