winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
4.76k stars 187 forks source link

Wing Console errors don't support ASCII colors #6582

Open eladb opened 1 month ago

eladb commented 1 month ago

I tried this:

bring expect;

expect.equal(["en"], []);

This happened:

Failed to compile.

Error: Expected values to be strictly deep-equal:
+ actual - expected

+ [
+   'en'
+ ]
- []
   --> src/manager.test.w:15:1
   |   model: model,
   | );
   | 
15 | expect.equal(manager.allLanguages, []);
   | ^
at /Users/eladb/playground/believe-in-serverless/src/manager.test.w:15:1

I expected this:

To have ASCII colors!

Is there a workaround?

No response

Anything else?

No response

Wing Version

No response

Node.js Version

No response

Platform(s)

No response

Community Notes