_id stringlengths 21 254 | text stringlengths 1 93.7k | metadata dict |
|---|---|---|
angular-cli/packages/angular_devkit/build_angular/src/builders/web-test-runner/builder-status-warnings.ts_0_1331 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { BuilderContext } from '@angular-devkit/architect';
import { Schema as WtrBuilderOptions } from './schema';
... | {
"end_byte": 1331,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/web-test-runner/builder-status-warnings.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/web-test-runner/write-test-files.ts_0_1404 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { BuildOutputFileType } from '@angular/build';
import { ResultFile, emitFilesToDisk } from '@angular/build/pr... | {
"end_byte": 1404,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/web-test-runner/write-test-files.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/web-test-runner/jasmine_runner.js_0_2785 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
platformBrowserDynamic... | {
"end_byte": 2785,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/web-test-runner/jasmine_runner.js"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/web-test-runner/options_spec.ts_0_1797 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { normalizeOptions } from './options';
import { Schema as WtrBuilderSchema } from './schema';
describe('opti... | {
"end_byte": 1797,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/web-test-runner/options_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/web-test-runner/test_page.html_0_1929 | <!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<title>Unit tests</title>
<script type="module">
(async () => {
// To initialize tests correctly we load things in a very particular order.
// Step 1. Load user polyfills (including `zone.js`). Does *not* include `zone.js/testing`... | {
"end_byte": 1929,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/web-test-runner/test_page.html"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/web-test-runner/index.ts_0_6813 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Result, ResultKind, buildApplicationInternal } from '@angular/build/private';
import { BuilderContext, Buil... | {
"end_byte": 6813,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/web-test-runner/index.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/web-test-runner/options.ts_0_1293 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Schema as WtrBuilderSchema } from './schema';
/**
* Options supported for the Web Test Runner builder. Th... | {
"end_byte": 1293,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/web-test-runner/options.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/server/platform-server-exports-loader.ts_0_1032 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
/**
* This loader is needed to add additional exports and is a workaround for a Webpack bug that doesn't
* allow e... | {
"end_byte": 1032,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/server/platform-server-exports-loader.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/server/index.ts_0_9083 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { assertCompatibleAngularVersion, purgeStaleBuildCache } from '@angular/build/private';
import { BuilderConte... | {
"end_byte": 9083,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/server/index.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/server/index.ts_9084_10047 | function getPlatformServerExportsConfig(wco: BrowserWebpackConfigOptions): Partial<Configuration> {
// Add `@angular/platform-server` exports.
// This is needed so that DI tokens can be referenced and set at runtime outside of the bundle.
// Only add `@angular/platform-server` exports when it is installed.
// ... | {
"end_byte": 10047,
"start_byte": 9084,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/server/index.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/server/tests/setup.ts_0_822 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Schema } from '../schema';
export { describeBuilder } from '../../../testing';
export const SERVER_BUILDE... | {
"end_byte": 822,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/server/tests/setup.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/server/tests/behavior/preserve_whitespaces_check_spec.ts_0_1555 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { logging } from '@angular-devkit/core';
import { execute } from '../../index';
import { BASE_OPTIONS, SERVER... | {
"end_byte": 1555,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/server/tests/behavior/preserve_whitespaces_check_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/server/tests/behavior/web-workers_spec.ts_0_1316 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { execute } from '../../index';
import { BASE_OPTIONS, SERVER_BUILDER_INFO, describeBuilder } from '../setup'... | {
"end_byte": 1316,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/server/tests/behavior/web-workers_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/server/tests/behavior/build-errors_spec.ts_0_1034 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { logging } from '@angular-devkit/core';
import { execute } from '../../index';
import { BASE_OPTIONS, SERVER... | {
"end_byte": 1034,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/server/tests/behavior/build-errors_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/server/tests/options/resources-output-path_spec.ts_0_2237 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { execute } from '../../index';
import { BASE_OPTIONS, SERVER_BUILDER_INFO, describeBuilder } from '../setup'... | {
"end_byte": 2237,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/server/tests/options/resources-output-path_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/server/tests/options/assets_spec.ts_0_4010 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { execute } from '../../index';
import { BASE_OPTIONS, SERVER_BUILDER_INFO, describeBuilder } from '../setup'... | {
"end_byte": 4010,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/server/tests/options/assets_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/server/tests/options/assets_spec.ts_4016_12720 | describe('longhand syntax', () => {
it('copies a single asset', async () => {
await harness.writeFile('src/test.svg', '<svg></svg>');
harness.useTarget('server', {
...BASE_OPTIONS,
assets: [{ glob: 'test.svg', input: 'src', output: '.' }],
});
const { result }... | {
"end_byte": 12720,
"start_byte": 4016,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/server/tests/options/assets_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/server/tests/options/source-map_spec.ts_0_5241 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { execute } from '../../index';
import { BASE_OPTIONS, SERVER_BUILDER_INFO, describeBuilder } from '../setup'... | {
"end_byte": 5241,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/server/tests/options/source-map_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/server/tests/options/external-dependencies_spec.ts_0_1403 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { execute } from '../../index';
import { BASE_OPTIONS, SERVER_BUILDER_INFO, describeBuilder } from '../setup'... | {
"end_byte": 1403,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/server/tests/options/external-dependencies_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/server/tests/options/extract-licenses_spec.ts_0_1553 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { execute } from '../../index';
import { BASE_OPTIONS, SERVER_BUILDER_INFO, describeBuilder } from '../setup'... | {
"end_byte": 1553,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/server/tests/options/extract-licenses_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/extract-i18n/ivy-extract-loader.ts_0_4629 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import * as nodePath from 'path';
import { loadEsmModule } from '../../utils/load-esm';
// Extract loader source ma... | {
"end_byte": 4629,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/extract-i18n/ivy-extract-loader.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/extract-i18n/webpack-extraction.ts_0_3773 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import type { ɵParsedMessage as LocalizeMessage } from '@angular/localize';
import { BuilderContext } from '@angular... | {
"end_byte": 3773,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/extract-i18n/webpack-extraction.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/extract-i18n/builder.ts_0_6742 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { assertCompatibleAngularVersion, purgeStaleBuildCache } from '@angular/build/private';
import type { Diagnos... | {
"end_byte": 6742,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/extract-i18n/builder.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/extract-i18n/works_spec.ts_0_5748 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { join, logging, normalize, virtualFs } from '@angular... | {
"end_byte": 5748,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/extract-i18n/works_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/extract-i18n/application-extraction.ts_0_5689 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import type { ApplicationBuilderOptions } from '@angular/build';
import { ResultFile, ResultKind, buildApplicationIn... | {
"end_byte": 5689,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/extract-i18n/application-extraction.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/extract-i18n/empty-loader.ts_0_266 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
export default function () {
return `export default '';`;
}
| {
"end_byte": 266,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/extract-i18n/empty-loader.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/extract-i18n/index.ts_0_483 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { createBuilder } from '@angular-devkit/architect';
import { execute } from './builder';
import type { Schema... | {
"end_byte": 483,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/extract-i18n/index.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/extract-i18n/options.ts_0_2834 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { createI18nOptions } from '@angular/build/private';
import { BuilderContext, targetFromTargetString } from '... | {
"end_byte": 2834,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/extract-i18n/options.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/index.ts_0_3799 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import {
BudgetCalculatorResult,
FileInfo,
IndexHtmlGenerator,
IndexHtmlTransform,
ThresholdSeverity,
as... | {
"end_byte": 3799,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/index.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/index.ts_3800_16484 | export function buildWebpackBrowser(
options: BrowserBuilderSchema,
context: BuilderContext,
transforms: {
webpackConfiguration?: ExecutionTransformer<webpack.Configuration>;
logging?: WebpackLoggingCallback;
indexHtml?: IndexHtmlTransform;
} = {},
): Observable<BrowserBuilderOutput> {
const proje... | {
"end_byte": 16484,
"start_byte": 3800,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/index.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/index.ts_16486_17064 | function assertNever(input: never): never {
throw new Error(
`Unexpected call to assertNever() with input: ${JSON.stringify(
input,
null /* replacer */,
4 /* tabSize */,
)}`,
);
}
function mapEmittedFilesToFileInfo(files: EmittedFiles[] = []): FileInfo[] {
const filteredFiles: FileInfo[... | {
"end_byte": 17064,
"start_byte": 16486,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/index.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/resources-output-path_spec.ts_0_3860 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { normalize } from '@angular-devkit/core';
import { br... | {
"end_byte": 3860,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/resources-output-path_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/no-entry-module_spec.ts_0_1029 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { browserBuild, createArchitect, host } from '../../..... | {
"end_byte": 1029,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/no-entry-module_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/scripts-array_spec.ts_0_5564 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { logging } from '@angular-devkit/core';
import { brow... | {
"end_byte": 5564,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/scripts-array_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/aot_spec.ts_0_2050 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { BrowserBuilderOutput } from '@angular-devkit/build-a... | {
"end_byte": 2050,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/aot_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/rebuild_spec.ts_0_573 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { join, logging, normalize, virtualFs } from '@angular... | {
"end_byte": 573,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/rebuild_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/rebuild_spec.ts_575_8931 | describe('Browser Builder rebuilds', () => {
const target = { project: 'app', target: 'build' };
// Rebuild tests are especially sensitive to time between writes due to file watcher
// behaviour. Give them a while.
const rebuildDebounceTime = 3000;
let architect: Architect;
beforeEach(async () => {
awa... | {
"end_byte": 8931,
"start_byte": 575,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/rebuild_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/rebuild_spec.ts_8935_15715 | it('rebuilds on transitive non node package DTS file changes', async () => {
host.writeMultipleFiles({
'src/interface1.d.ts': `
import { Interface2 } from './interface2';
export interface Interface1 extends Interface2 { }
`,
'src/interface2.d.ts': `
import { Interface3 } fr... | {
"end_byte": 15715,
"start_byte": 8935,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/rebuild_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/rebuild_spec.ts_15719_22155 | it('rebuilds AOT factories', async () => {
host.writeMultipleFiles({
'src/app/app.component.css': `
@import './imported-styles.css';
body {background-color: #00f;}
`,
'src/app/imported-styles.css': 'p {color: #f00;}',
});
const overrides = { watch: true, aot: true };
l... | {
"end_byte": 22155,
"start_byte": 15719,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/rebuild_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/source-map_spec.ts_0_5543 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { OutputHashing } from '@angular-devkit/build-angular'... | {
"end_byte": 5543,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/source-map_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/vendor-chunk_spec.ts_0_840 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { browserBuild, createArchitect, host } from '../../..... | {
"end_byte": 840,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/vendor-chunk_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/unused-files-warning_spec.ts_0_8260 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { BrowserBuilderOutput } from '@angular-devkit/build-a... | {
"end_byte": 8260,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/unused-files-warning_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/vendor-source-map_spec.ts_0_4852 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import * as path from 'path';
import { browserBuild, createAr... | {
"end_byte": 4852,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/vendor-source-map_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/resolve-json-module_spec.ts_0_1959 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { join, virtualFs } from '@angular-devkit/core';
impor... | {
"end_byte": 1959,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/resolve-json-module_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/base-href_spec.ts_0_2950 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { BrowserBuilderOutput } from '@angular-devkit/build-a... | {
"end_byte": 2950,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/base-href_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/stats-json_spec.ts_0_1152 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { browserBuild, createArchitect, host } from '../../..... | {
"end_byte": 1152,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/stats-json_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/web-worker_spec.ts_0_6566 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { join, logging, virtualFs } from '@angular-devkit/cor... | {
"end_byte": 6566,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/web-worker_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/output-path_spec.ts_0_3227 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { getSystemPath, join, virtualFs } from '@angular-devk... | {
"end_byte": 3227,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/output-path_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/build-optimizer_spec.ts_0_2853 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { BrowserBuilderOutput } from '@angular-devkit/build-a... | {
"end_byte": 2853,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/build-optimizer_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/font-optimization_spec.ts_0_2304 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { browserBuild, createArchitect, host } from '../../..... | {
"end_byte": 2304,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/font-optimization_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/tsconfig-paths_spec.ts_0_2316 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { browserBuild, createArchitect, host } from '../../..... | {
"end_byte": 2316,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/tsconfig-paths_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/works_spec.ts_0_1611 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { describeBuilder } from '../../../testing';
import { buildWebpackBrowser } from '../index';
const BROWSER_B... | {
"end_byte": 1611,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/works_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/deploy-url_spec.ts_0_2534 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { BrowserBuilderOutput } from '@angular-devkit/build-a... | {
"end_byte": 2534,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/deploy-url_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/service-worker_spec.ts_0_442 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { join, normalize, virtualFs } from '@angular-devkit/c... | {
"end_byte": 442,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/service-worker_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/service-worker_spec.ts_444_8270 | describe('Browser Builder service worker', () => {
const manifest = {
index: '/index.html',
assetGroups: [
{
name: 'app',
installMode: 'prefetch',
resources: {
files: ['/favicon.ico', '/index.html', '/*.bundle.css', '/*.bundle.js', '/*.chunk.js'],
},
},
... | {
"end_byte": 8270,
"start_byte": 444,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/service-worker_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/optimization-level_spec.ts_0_2882 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { browserBuild, createArchitect, host } from '../../..... | {
"end_byte": 2882,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/optimization-level_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/replacements_spec.ts_0_6306 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { logging, normalize, virtualFs } from '@angular-devki... | {
"end_byte": 6306,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/replacements_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/allow-js_spec.ts_0_3685 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { BrowserBuilderOutput } from '@angular-devkit/build-a... | {
"end_byte": 3685,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/allow-js_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/poll_spec.ts_0_1697 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { debounceTime, take, tap, timeout } from 'rxjs';
impo... | {
"end_byte": 1697,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/poll_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/styles_spec.ts_0_7173 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { normalize, tags } from '@angular-devkit/core';
impor... | {
"end_byte": 7173,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/styles_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/styles_spec.ts_7177_15392 | extensionsWithVariableSupport.forEach((ext) => {
it(`supports ${ext} includePaths`, async () => {
let variableAssignment = '';
let variablereference = '';
if (ext === 'scss') {
variableAssignment = '$primary-color:';
variablereference = '$primary-color';
} else if (ext === 'l... | {
"end_byte": 15392,
"start_byte": 7177,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/styles_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/styles_spec.ts_15396_23112 | it(`supports inline javascript in less`, async () => {
const overrides = { styles: [`src/styles.less`] };
host.writeMultipleFiles({
'src/styles.less': `
.myFunction() {
@functions: ~\`(function () {
return '';
})()\`;
}
.myFunction();
`,
})... | {
"end_byte": 23112,
"start_byte": 15396,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/styles_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/svg_spec.ts_0_2060 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { join, normalize, virtualFs } from '@angular-devkit/c... | {
"end_byte": 2060,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/svg_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/errors_spec.ts_0_3119 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { logging } from '@angular-devkit/core';
import { crea... | {
"end_byte": 3119,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/errors_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/index_spec.ts_0_520 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { BrowserBuilderOutput } from '@angular-devkit/build-a... | {
"end_byte": 520,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/index_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/index_spec.ts_522_8649 | describe('Browser Builder index HTML processing', () => {
const targetSpec = { project: 'app', target: 'build' };
let architect: Architect;
beforeEach(async () => {
await host.initialize().toPromise();
architect = (await createArchitect(host.root())).architect;
});
afterEach(async () => host.restore(... | {
"end_byte": 8649,
"start_byte": 522,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/index_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/index_spec.ts_8653_10444 | it('creates subdirectories for output value from the index option longform', async () => {
const { workspace } = await workspaces.readWorkspace(
host.root(),
workspaces.createWorkspaceHost(host),
);
const app = workspace.projects.get('app');
if (!app) {
fail('Test application "app" not... | {
"end_byte": 10444,
"start_byte": 8653,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/index_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/cross-origin_spec.ts_0_4802 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { BrowserBuilderOutput, CrossOrigin } from '@angular-d... | {
"end_byte": 4802,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/cross-origin_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/specs/lazy-module_spec.ts_0_6204 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Architect } from '@angular-devkit/architect';
import { TestProjectHost } from '@angular-devkit/architect/te... | {
"end_byte": 6204,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/specs/lazy-module_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/setup.ts_0_826 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { Schema } from '../schema';
export { describeBuilder } from '../../../testing';
export const BROWSER_BUILD... | {
"end_byte": 826,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/setup.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/behavior/browser-support_spec.ts_0_3745 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { buildWebpackBrowser } from '../../index';
import { BASE_OPTIONS, BROWSER_BUILDER_INFO, describeBuilder } fr... | {
"end_byte": 3745,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/behavior/browser-support_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/behavior/localize_watch_spec.ts_0_2876 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { concatMap, count, take, timeout } from 'rxjs';
import { BUILD_TIMEOUT, buildWebpackBrowser } from '../../in... | {
"end_byte": 2876,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/behavior/localize_watch_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/behavior/index_watch_spec.ts_0_1677 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { concatMap, count, take, timeout } from 'rxjs';
import { BUILD_TIMEOUT, buildWebpackBrowser } from '../../in... | {
"end_byte": 1677,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/behavior/index_watch_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/behavior/styles_unsupported_spec.ts_0_1160 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { logging } from '@angular-devkit/core';
import { buildWebpackBrowser } from '../../index';
import { BASE_OPT... | {
"end_byte": 1160,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/behavior/styles_unsupported_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/behavior/rebuild-errors_spec.ts_0_453 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { logging } from '@angular-devkit/core';
import { concatMap, count, take, timeout } from 'rxjs';
import { BUI... | {
"end_byte": 453,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/behavior/rebuild-errors_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/behavior/rebuild-errors_spec.ts_455_11436 | describeBuilder(buildWebpackBrowser, BROWSER_BUILDER_INFO, (harness) => {
describe('Behavior: "Rebuild Error"', () => {
it('detects template errors with no AOT codegen or TS emit differences', async () => {
harness.useTarget('build', {
...BASE_OPTIONS,
aot: true,
watch: true,
}... | {
"end_byte": 11436,
"start_byte": 455,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/behavior/rebuild-errors_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/assets_spec.ts_0_3936 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { buildWebpackBrowser } from '../../index';
import { BASE_OPTIONS, BROWSER_BUILDER_INFO, describeBuilder } fr... | {
"end_byte": 3936,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/assets_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/assets_spec.ts_3942_12631 | describe('longhand syntax', () => {
it('copies a single asset', async () => {
await harness.writeFile('src/test.svg', '<svg></svg>');
harness.useTarget('build', {
...BASE_OPTIONS,
assets: [{ glob: 'test.svg', input: 'src', output: '.' }],
});
const { result } ... | {
"end_byte": 12631,
"start_byte": 3942,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/assets_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/main_spec.ts_0_2084 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { buildWebpackBrowser } from '../../index';
import { BASE_OPTIONS, BROWSER_BUILDER_INFO, describeBuilder } fr... | {
"end_byte": 2084,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/main_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/inline-style-language_spec.ts_0_5251 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { concatMap, count, take, timeout } from 'rxjs';
import { buildWebpackBrowser } from '../../index';
import { ... | {
"end_byte": 5251,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/inline-style-language_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/inline-critical_spec.ts_0_5135 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { buildWebpackBrowser } from '../../index';
import { BASE_OPTIONS, BROWSER_BUILDER_INFO, describeBuilder } fr... | {
"end_byte": 5135,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/inline-critical_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/bundle-budgets_spec.ts_0_6889 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { logging } from '@angular-devkit/core';
import { lazyModuleFiles, lazyModuleFnImport } from '../../../../tes... | {
"end_byte": 6889,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/bundle-budgets_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/stats-json_spec.ts_0_2444 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { buildWebpackBrowser } from '../../index';
import { BASE_OPTIONS, BROWSER_BUILDER_INFO, describeBuilder } fr... | {
"end_byte": 2444,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/stats-json_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/subresource-integrity_spec.ts_0_2254 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { logging } from '@angular-devkit/core';
import { buildWebpackBrowser } from '../../index';
import { BASE_OPT... | {
"end_byte": 2254,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/subresource-integrity_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/allowed-common-js-dependencies_spec.ts_0_4756 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { logging } from '@angular-devkit/core';
import { buildWebpackBrowser } from '../../index';
import { BASE_OPT... | {
"end_byte": 4756,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/allowed-common-js-dependencies_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/output-hashing_spec.ts_0_6787 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { buildWebpackBrowser } from '../../index';
import { OutputHashing } from '../../schema';
import { BASE_OPTIO... | {
"end_byte": 6787,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/output-hashing_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/watch_spec.ts_0_2991 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { concatMap, count, take, timeout } from 'rxjs';
import { buildWebpackBrowser } from '../../index';
import { ... | {
"end_byte": 2991,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/watch_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/scripts_spec.ts_0_4980 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { buildWebpackBrowser } from '../../index';
import { BASE_OPTIONS, BROWSER_BUILDER_INFO, describeBuilder } fr... | {
"end_byte": 4980,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/scripts_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/scripts_spec.ts_4986_13349 | describe('longhand syntax', () => {
it('processes a single script into a single output', async () => {
await harness.writeFile('src/test-script-a.js', 'console.log("a");');
harness.useTarget('build', {
...BASE_OPTIONS,
scripts: [{ input: 'src/test-script-a.js' }],
});
... | {
"end_byte": 13349,
"start_byte": 4986,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/scripts_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/scripts_spec.ts_13357_15203 | it('does not add script element to index with bundleName when inject is false', async () => {
await harness.writeFile('src/test-script-a.js', 'console.log("a");');
harness.useTarget('build', {
...BASE_OPTIONS,
scripts: [{ input: 'src/test-script-a.js', bundleName: 'extra', inject: f... | {
"end_byte": 15203,
"start_byte": 13357,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/scripts_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/named-chunks_spec.ts_0_2142 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { buildWebpackBrowser } from '../../index';
import { BASE_OPTIONS, BROWSER_BUILDER_INFO, describeBuilder } fr... | {
"end_byte": 2142,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/named-chunks_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/styles_spec.ts_0_4852 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { buildWebpackBrowser } from '../../index';
import { BASE_OPTIONS, BROWSER_BUILDER_INFO, describeBuilder } fr... | {
"end_byte": 4852,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/styles_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/styles_spec.ts_4853_13352 | () => {
it('processes a single style into a single output', async () => {
await harness.writeFile('src/test-style-a.css', '.test-a {color: red}');
harness.useTarget('build', {
...BASE_OPTIONS,
styles: [{ input: 'src/test-style-a.css' }],
});
const { result } =... | {
"end_byte": 13352,
"start_byte": 4853,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/styles_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/styles_spec.ts_13360_15216 | it('does not add link element to index with bundleName when inject is false', async () => {
await harness.writeFile('src/test-style-a.css', '.test-a {color: red}');
harness.useTarget('build', {
...BASE_OPTIONS,
styles: [{ input: 'src/test-style-a.css', bundleName: 'extra', inject: f... | {
"end_byte": 15216,
"start_byte": 13360,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/styles_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/verbose_spec.ts_0_4985 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { logging } from '@angular-devkit/core';
import { concatMap, count, take, timeout } from 'rxjs';
import { BUI... | {
"end_byte": 4985,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/verbose_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/tsconfig_spec.ts_0_961 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { buildWebpackBrowser } from '../../index';
import { BASE_OPTIONS, BROWSER_BUILDER_INFO, describeBuilder } fr... | {
"end_byte": 961,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/tsconfig_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/polyfills_spec.ts_0_2089 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { buildWebpackBrowser } from '../../index';
import { BASE_OPTIONS, BROWSER_BUILDER_INFO, describeBuilder } fr... | {
"end_byte": 2089,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/polyfills_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/browser/tests/options/extract-licenses_spec.ts_0_1576 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { buildWebpackBrowser } from '../../index';
import { BASE_OPTIONS, BROWSER_BUILDER_INFO, describeBuilder } fr... | {
"end_byte": 1576,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/browser/tests/options/extract-licenses_spec.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/find-tests.ts_0_3323 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import glob, { isDynamicPattern } from 'fast-glob';
import { PathLike, constants, promises as fs } from 'fs';
import... | {
"end_byte": 3323,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/find-tests.ts"
} |
angular-cli/packages/angular_devkit/build_angular/src/builders/karma/init_test_bed.js_0_596 | /**
* @license
* Copyright Google LLC 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.dev/license
*/
import { getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
platformBrowserDynamic... | {
"end_byte": 596,
"start_byte": 0,
"url": "https://github.com/angular/angular-cli/blob/main/packages/angular_devkit/build_angular/src/builders/karma/init_test_bed.js"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.