saplingjs / sapling

🌿 Sapling is a Node.js framework for faster-than-light web development.
https://www.saplingjs.com
MIT License
14 stars 0 forks source link

Use `matchWildcard` for Memory driver #417

Closed groenroos closed 2 years ago

groenroos commented 2 years ago

416 introduced a matchWildcard method for generally supporting matching patterns with asterisk based wildcards.

This PR implements that method for the Memory DB driver.

codecov[bot] commented 2 years ago

Codecov Report

Merging #417 (6ad95ce) into master (1cb6ee1) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #417   +/-   ##
=======================================
  Coverage   98.05%   98.05%           
=======================================
  Files          37       37           
  Lines        4581     4581           
=======================================
  Hits         4492     4492           
  Misses         89       89           
Impacted Files Coverage Δ
drivers/db/Memory.js 99.11% <100.00%> (ø)
lib/Utils.js 100.00% <100.00%> (ø)

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 1cb6ee1...6ad95ce. Read the comment docs.