angular-docs-cn/tools/cjs-jasmine/test-cjs-main.ts

6 lines
284 B
TypeScript

var testingPlatformServer = require('../../all/@angular/platform-server/testing/server.js');
var testing = require('../../all/@angular/core/testing');
testing.TestBed.initTestEnvironment(
testingPlatformServer.ServerTestingModule, testingPlatformServer.serverTestingPlatform());