std/expect/_extend.ts
David Sherret 26d3fc3031
chore: enable verbatim-module-syntax lint rule (#4539)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-04-02 00:57:05 +00:00

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,
};
}