You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an issue when copy-pasting code from the official website in VSCode, namely the - (dash) is being copied as \U+2013 which is the n-dash character (ref: https://www.compart.com/en/unicode/U+2013).
VSCode will highlight this:
If your editor doesn't warn about this, you'll notice the tests are failing, but without indication as to why its failing:
not ok 16 Chrome 103.0 - [39 ms] - Integration | Component | rental/detailed: it renders detailed information about a rental property
---
actual: >
Type: Standalone - Estate
expected: >
Standalone – Estate
stack: >
at DOMAssertions.includesText (http://localhost:7357/assets/test-support.js:9731:12)
at DOMAssertions.containsText (http://localhost:7357/assets/test-support.js:9741:19)
at Object.<anonymous> (http://localhost:7357/assets/tests.js:406:42)
message: >
Element article .detail.type has text containing "Standalone – Estate"
negative: >
false
browser log: |
...
I think this should be added as a warning as it seems to be specific to VSCode (as WebStorm doesn't have this problem).
The text was updated successfully, but these errors were encountered:
There is an issue when copy-pasting code from the official website in VSCode, namely the
-
(dash) is being copied as\U+2013
which is then-dash
character (ref: https://www.compart.com/en/unicode/U+2013).VSCode will highlight this:
If your editor doesn't warn about this, you'll notice the tests are failing, but without indication as to why its failing:
I think this should be added as a warning as it seems to be specific to VSCode (as WebStorm doesn't have this problem).
The text was updated successfully, but these errors were encountered: