Skip to content

Latest commit

 

History

History
38 lines (37 loc) · 2.17 KB

todo.md

File metadata and controls

38 lines (37 loc) · 2.17 KB

Todo

  • add a pretty diff to the assertion errors like chai has
    • or at least include functions in the stringify output
  • look into using typedoc plugins
  • make isElementVisible work in more situations (see its stackoverflow link)
  • reverse engineer how web-test-runner calculates code coverage, because it works really well, and apply it to node test coverage
  • add type guards to the boundary assertions on strings (like assert.endsWith)
  • add a logger that saves to a file or to indexeddb
  • create an augment that is like Promise.all but works on objects
  • add shallow copy and deep copy
  • move path transforms to @augment-vir/common (like toPosixPath)
    • maybe
  • add a convert which is like assert
    • convertTo.number, convertToEnsured.number, convertToMaybe.number, etc. for numbers, strings, etc.
    • remove number-conversation.ts
  • just a plain diff function
    • better outputs from diffArray (it should output a partial)
  • add a function that batches Promise.all calls
  • allow readonly inputs to all guards (like assert.deepEquals)
  • add NestedType type from element-book
  • fix infinite recursion types, InfiniteRecursionLimiter from element-book works better
  • add NonEmptyString from element-vir
  • write my own node snapshot assertion that doesn't use Node.js's built-in format (which I don't like)
  • make the operating system enums work in the frontend (move it to the common package)
  • add an OmitSelect (opposite of SelectFrom)
  • use ListenTarget for ShellEmitter
  • convert Debounce into an ListenTarget and emit events when:
    • execute is called with no callback
    • the callback is triggered
    • the callback is skipped
  • figure out why most packages are failing tests on windows
  • remove type guard from equality checks? (like jsonEquals)
  • add this:void to all functions