angular-cn/tools/testing/init_node_no_angular_spec.ts

11 lines
270 B
TypeScript

/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
(global as any).isNode = true;
(global as any).isBrowser = false;