Skip to content

Commit b8f3c9d

Browse files
committed
address feedback
1 parent 5ca01a3 commit b8f3c9d

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

src/cdk/testing/kagekiri.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88

9+
// Note: kagekiri is a dev dependency that is used only in our tests to test using a custom
10+
// querySelector function. Do not use this in published code.
911
declare module 'kagekiri' {
1012
export function querySelectorAll(selector: string, root: Element): NodeListOf<Element>;
1113
}

src/cdk/testing/tests/protractor.e2e.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import {SubComponentHarness, SubComponentSpecialHarness} from './harnesses/sub-c
1212

1313
// Kagekiri is available globally in the browser. We declare it here so we can use it in the
1414
// browser-side script passed to `by.js`.
15+
// TODO(mmalerba): Replace with type-only import once TS 3.8 is available
16+
// https://devblogs.microsoft.com/typescript/announcing-typescript-3-8-beta/#type-only-imports-exports
1517
declare const kagekiri: {
1618
querySelectorAll: (selector: string, root: Element) => NodeListOf<Element>;
1719
};

src/e2e-app/devserver-configure.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
require.config({
44
paths: {
55
'moment': 'moment/min/moment.min',
6-
'kagekiri': 'kagekiri/dist/kagekiri.umd.min.js',
76

87
// MDC Web
98
'@material/animation': '@material/animation/dist/mdc.animation',

0 commit comments

Comments
 (0)