TheoryOfNekomata
5fa727bf45
Make coverage 100%
Include all tests for the primary functions as well as the utilities.
há 1 ano
TheoryOfNekomata
e793049356
Update supported input types
Make input type handling more comprehensive.
há 1 ano
TheoryOfNekomata
23433c32d4
Remove uncovered lines
Only keep lines that are testable.
há 1 ano
TheoryOfNekomata
2089f146ef
Update tests, fix multiple value setting
Make tests more comprehensive.
há 1 ano
TheoryOfNekomata
4c69db6c02
Add coverage reporting
Include coverage reporting on tests.
há 1 ano
TheoryOfNekomata
972a65271e
Add date tests, duplicates
Include tests for duplicate values, as well as comprehensive date tests.
há 1 ano
TheoryOfNekomata
1ae8e04f57
Update counting
Reduce complexity in code by un-nesting ternary statements.
há 1 ano
TheoryOfNekomata
48166877e4
Add support for multiple values
Correctly set fields when they are arrays.
há 1 ano
TheoryOfNekomata
103b9dda84
Update README
Make readme more concise.
há 1 ano
TheoryOfNekomata
53a8fa4767
Update tsdoc
Indicate partial values can be passed in setFormValues().
há 1 ano
TheoryOfNekomata
c908924fa5
Update npmignore
Add files from pridepack.
há 1 ano
TheoryOfNekomata
52088285d1
Update documentation
Add logo, and some documentation.
há 1 ano
TheoryOfNekomata
8126098986
Merge branch 'master' of code.modal.sh:TheoryOfNekomata/formxtra
há 1 ano
TheoryOfNekomata
fdcdf1ddf3
Refactor code
Make error messages more user-friendly. Also remove magic constants
within functions.
há 1 ano
TheoryOfNekomata
0fcde2ab61
Update tsconfig
Specify rootdir.
há 1 ano
TheoryOfNekomata
05499e5fdb
Update tests
Include month and week input types.
há 1 ano
TheoryOfNekomata
cc3aa1df91
Switch to pridepack, add setFormValues
Implement setFormValues for easy setting of fields.
Also migrated to pridepack because tsdx is already unmaintained.
há 1 ano
TheoryOfNekomata
8ca44c9c74
Update package
Proofread README.
há 3 anos
TheoryOfNekomata
96673bd709
Update package.json
há 3 anos
TheoryOfNekomata
9563565723
Update README
há 3 anos
TheoryOfNekomata
a4a712af5e
Update package
há 3 anos
TheoryOfNekomata
8875c63f48
Update README
há 3 anos
TheoryOfNekomata
7cb36935a5
Update README
há 3 anos
TheoryOfNekomata
8b9fd6e610
Bump version
For republishing.
há 3 anos
TheoryOfNekomata
5de36b6132
Update package
Exclude original source to minimize package size.
há 3 anos
TheoryOfNekomata
a21588e705
Update npmignore
há 3 anos
TheoryOfNekomata
9db23f3bb8
Update npmignore
Ignore project files
há 3 anos
TheoryOfNekomata
eb7f4a80a1
Separate prettierrc
Use separate file
há 3 anos
TheoryOfNekomata
8fe5df13ac
Update package
há 3 anos
TheoryOfNekomata
d67aaa9c84
Fix logic for file input
Use correct logic.
há 3 anos
TheoryOfNekomata
1495659990
Organize code
Switch order in appearance of definitions.
há 3 anos
TheoryOfNekomata
67bd13e7ae
Structure tests, document methods
The tests do not depend on separate files for loading templates. This is
for the layouts to be defined alongside the tests for easier updates.
The methods have been refactored and documented for ease of use of the
consumers.
há 3 anos
TheoryOfNekomata
124e107754
Rename everything test
Use correct description.
há 3 anos
TheoryOfNekomata
5ea923e826
Include input outside form demonstration
Add checkbox on sample form in README.
há 3 anos
TheoryOfNekomata
4455d9c827
Add information in README
This adds the motivation on using the library, with the pitfalls on
using other form libraries.
há 3 anos
TheoryOfNekomata
bc9b96b597
Merge branch 'master' of code.modal.sh:TheoryOfNekomata/formxtr
há 3 anos
TheoryOfNekomata
118147836f
Restructure tests, add other scenarios
Handle selects, as well as file uploads.
há 3 anos
TheoryOfNekomata
b6f0258926
Update README
For republishing.
há 3 anos
TheoryOfNekomata
0aa8b17e25
Update publish script
Set permissions to executable.
há 3 anos
TheoryOfNekomata
b5961cd461
Update publish URLs
Use new URLs for publishing.
há 3 anos
TheoryOfNekomata
4fb3c83043
Update usage notes, prepare for publishing
We have added a more meaningful code sample in the README file.
Also, the publishing will happen on multiple registries, just like
`@theoryofnekomata/react-musical-keyboard`
há 3 anos
TheoryOfNekomata
16d3990a7d
Fix tests
The tests are now fully unified with Jest and Cypress consuming the
same set of test files.
Jest, together with JSDOM, tests the behavior with static markup.
Cypress tests with dynamic markup.
há 3 anos
TheoryOfNekomata
3b46b67247
Unify tests
Attempt to unify tests for Jest and Cypress.
há 3 anos
TheoryOfNekomata
62cef2d663
Update README
Note on installation.
há 3 anos
TheoryOfNekomata
c0d6405873
Add README
Include short details on using the library.
há 3 anos
TheoryOfNekomata
d6553006a1
Organize tests
Both the JSDOM and the Cypress tests are organized.
há 3 anos
TheoryOfNekomata
dcda8ddfb2
Implement cypress
This commit adds Cypress for testing the library against a real DOM.
há 3 anos
TheoryOfNekomata
90d921ff68
Implement tests
Use custom JSDOM apart from Jest's built-in JSDOM instance because
we need to test different kinds of documents.
We will need to address problems with types, e.g. for `RadioNodeList`
because the runner could not find its declaration (for both our custom
and built-in JSDOM instances).
há 3 anos
TheoryOfNekomata
01b1fca79f
Initial commit
Add files from TSDX.
há 3 anos