• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

i18next / i18next / #11965

08 Jun 2023 07:01AM UTC coverage: 56.318% (-38.9%) from 95.213%
#11965

push

web-flow
Redesign `t` function types (#1911)

* Redesign t function types

* Add extra tests for t function and fix interpolation types

* Bump typescript version

574 of 1535 branches covered (37.39%)

517 of 918 relevant lines covered (56.32%)

24.67 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

44.44
/src/postProcessor.js
1
export default {
2
  processors: {},
3

1✔
4
  addPostProcessor(module) {
5
    this.processors[module.name] = module;
6
  },
1✔
7

1✔
8
  handle(processors, value, key, options, translator) {
9
    processors.forEach((processor) => {
10
      if (this.processors[processor])
×
11
        value = this.processors[processor].process(value, key, options, translator);
12
    });
13

×
14
    return value;
×
15
  },
×
16
};
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc