question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

False positive "translation of key is missing" for functions that end with a t

See original GitHub issue

Steps to reproduce

  1. Create a file like dosomething.spec.ts
  2. Add the line it('does stuff', () => {...})
  3. Get info highlights saying `Translation of “does stuff” is missing

I guess it sees it() and assumes it’s the t function being called as t()

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
antfucommented, Nov 25, 2019

@tamj0rd2 You are using it for React right? The bug should be fixed in v1.0.1. Please try it out 😃

1reaction
antfucommented, Nov 25, 2019

@tamj0rd2 thanks! Gonna fix it soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

False-Positive: Parser Error: Missing expected } at the end of ...
Uncaught (in promise): Template parse errors: Parser Error: Missing expected } at the end of the expression [{{'KEY' | translate:{'arg1': ...
Read more >
Type I and type II errors - Wikipedia
In statistical hypothesis testing, a type I error is the mistaken rejection of an actually true null hypothesis (also known as a "false...
Read more >
When is a False Positive Not a False Positive in Cybersecurity?
What is a false positive? The phrase “false positive” suggests that there was a positive that was proven false. However, these individual pieces...
Read more >
How to Reduce False Positives in AML Transaction Monitoring
Ironically, false-positive rates on the lower end signal that an institution is deploying an overly-specific set of rules, which in practice, ...
Read more >
Troubleshoot vulnerability detection - Prisma
Whether a CVE reported by Prisma Cloud is suspected to be a false positive (meaning there is an assumption that the CVE doesn't...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found