MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / test_fetch_defined

Function test_fetch_defined

apps/automated/src/fetch/fetch-tests.ts:5–7  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3import * as types from '@nativescript/core/utils/types';
4
5export var test_fetch_defined = function () {
6 TKUnit.assert(types.isDefined(fetch), 'Method fetch() should be defined!');
7};
8
9export var test_fetch = function (done: (err: Error, res?: string) => void) {
10 // >> fetch-response

Callers

nothing calls this directly

Calls 1

assertMethod · 0.80

Tested by

no test coverage detected