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

7 lines
316 B
TypeScript

var testingPlatformServer = require('../../all/@angular/platform-server/testing/server.js');
var testing = require('../../all/@angular/core/testing');
testing.initTestEnvironment(
testingPlatformServer.serverTestCompiler, testingPlatformServer.serverTestPlatform(),
testingPlatformServer.ServerTestModule);