mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
26d3fc3031
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
17 lines
356 B
TypeScript
17 lines
356 B
TypeScript
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
|
|
import type { Matchers } from "./_types.ts";
|
|
|
|
let extendMatchers = {};
|
|
|
|
export function getExtendMatchers() {
|
|
return extendMatchers;
|
|
}
|
|
|
|
export function setExtendMatchers(newExtendMatchers: Matchers) {
|
|
extendMatchers = {
|
|
...extendMatchers,
|
|
...newExtendMatchers,
|
|
};
|
|
}
|