Skip to content

Glossary: Testing Web Apps

Global

Also written: globals

A function available everywhere without importing it, such as `fetch`. `vi.stubGlobal` can replace one in a test.

Where the book teaches it

Related terms

vi.stubGlobalfetch