MCPcopy
hub / github.com/pocketbase/pocketbase / Reset

Method Reset

tests/mailer.go:28–33  ·  view source on GitHub ↗

Reset clears any previously test collected data.

()

Source from the content-addressed store, hash-verified

26
27// Reset clears any previously test collected data.
28func (tm *TestMailer) Reset() {
29 tm.mux.Lock()
30 defer tm.mux.Unlock()
31
32 tm.messages = nil
33}
34
35// TotalSend returns the total number of sent messages.
36func (tm *TestMailer) TotalSend() int {

Callers 1

CleanupMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected