Skip to content
#

assertion

Here are 350 public repositories matching this topic...

amantinband
amantinband commented Mar 16, 2022

Add the following extensions methods for dictionaries:

var dictionary = new Dictionary<string, string>
{
    ["key1"] = "value1",
    ["key2"] = "value2",
};

dictionary.Throw().IfContainsKey("key1");
dictionary.Throw().IfNotContainsKey("key3");

And the corresponding dictionary properties extension methods:

var dictionary = new Dictionary<string, string
enhancement good first issue
lorenzofox3
lorenzofox3 commented Sep 23, 2021

For now, the theme is harcoded in the code. Ideally we want the user to be able to load its custom theme from a simple json file. This will allow for example to address accessibility issues (for visually impaired users)

ex:

I have a zora.theme.json in my project root

{
    "version":1,
     "bgError":"bgRed"    
}

Where the values can be anything in [colorette](htt

enhancement help wanted good first issue reporters
probably
propensive
propensive commented Nov 27, 2020

The report shows the timings of each test without any units, and these should be shown. The same units should be used for every test in the report (or at least in the same suite). Test times are currently measured in milliseconds (using System.currentTimeMillis though, it would make sense to display them in either ms or s. However, it may also be worthwhile recording System.nanoTime *as we

k4m4
k4m4 commented Nov 16, 2019
  • It would make sense (and greatly improve the 'testing flow') if .exists, .is, and .each could be chained to the .expr function:
await freddo('https://api.example.com')
      .status(200)
      .expr('.total_count').exists()
      .expr('.incomplete_results').is('boolean')
      .expr('.items.node_id').each(validator.isBase64)
      .ensure()
enhancement help wanted good first issue

Decorator Contracts is a library that provides the ability to create and assign Code Contracts to ECMAScript and TypeScript classes. This enables enforcement of the Liskov substitution principle and the Open-closed principle of SOLID to support Design By Contract™.

  • Updated Mar 28, 2022
  • TypeScript

Improve this page

Add a description, image, and links to the assertion topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the assertion topic, visit your repo's landing page and select "manage topics."

Learn more