MCPcopy Create free account
hub / github.com/denoland/std / getIsUpdate

Function getIsUpdate

testing/_snapshot_utils.ts:77–79  ·  view source on GitHub ↗
(options: SnapshotOptions)

Source from the content-addressed store, hash-verified

75 * Return `true` when snapshot mode is `update`.
76 */
77export function getIsUpdate(options: SnapshotOptions) {
78 return getMode(options) === "update";
79}
80
81export function getOptions<T>(
82 msgOrOpts?: string | T,

Callers 3

assertInlineSnapshotFunction · 0.90
#readSnapshotFileMethod · 0.90
assertSnapshotFunction · 0.90

Calls 1

getModeFunction · 0.85

Tested by

no test coverage detected