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

ledgersmb / LedgerSMB / 4401942645

pending completion
4401942645

push

github

GitHub
Jest components tests (#7264)

56 of 145 branches covered (38.62%)

48 of 50 new or added lines in 5 files covered. (96.0%)

3395 existing lines in 78 files now uncovered.

8599 of 20189 relevant lines covered (42.59%)

701.76 hits per line

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

0.0
/UI/js-src/lsmb/SimpleForm.js
UNCOV
1
/** @format */
×
UNCOV
2

×
3
define(["dijit/form/Form", "dojo/_base/declare"], function (Form, declare) {
×
UNCOV
4
    /* The purpose of the SimpleForm is to be a regular dijit/form/Form,
×
UNCOV
5
              enhanced with the standard behaviours LedgerSMB wants in its
×
UNCOV
6
              application, such as form validation.
×
UNCOV
7

×
UNCOV
8
              Note that in the usual use-case, you want the more extensively
×
UNCOV
9
              adapted lsmb/Form, which uses asynchronous requests to submit
×
UNCOV
10
              form content, as expected in the application's #maindiv
×
UNCOV
11

×
UNCOV
12
              Concluding: you only want to use this class in specific cases.
×
UNCOV
13
            */
×
14
    return declare("lsmb/SimpleForm", [Form], {
×
UNCOV
15
        onSubmit: function () {
×
16
            return this.validate();
×
UNCOV
17
        }
×
UNCOV
18
    });
×
UNCOV
19
});
×
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

© 2025 Coveralls, Inc