opentoken-io / opentoken

Public and free software API to tokenize or encrypt data.
MIT License
13 stars 5 forks source link

Need to reset the container #132

Closed fidian closed 7 years ago

fidian commented 7 years ago

This prevents normal behavior from creeping in during our tests. We want weird behavior because we're repatching the container's genericFormatter, but we only want that weird behavior while running one of these tests.

Before, the genericFormatter was cached automatically by Dizzy and was reused. I suspect that my recent changes to Dizzy during the enabling of promises caused the caching technique to work better (in Dizzy's eyes) and thus break these tests.

codecov-io commented 7 years ago

Codecov Report

Merging #132 into master will not change coverage. The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #132   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          72     72           
  Lines        1455   1455           
  Branches      159    159           
=====================================
  Hits         1455   1455

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4d25a0a...54d6ae1. Read the comment docs.