Skip to content

Commit

Permalink
chore(test): remove legacy context option
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Aug 5, 2020
1 parent 6b538d5 commit bfb1271
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/declarations/stencil-private.ts
Expand Up @@ -2386,8 +2386,6 @@ export interface NewSpecPageOptions {
attachStyles?: boolean;

strictBuild?: boolean;
/** @deprecated */
context?: { [key: string]: any };
}

export interface TypesImportData {
Expand Down
3 changes: 0 additions & 3 deletions src/testing/spec-page.ts
Expand Up @@ -6,7 +6,6 @@ import {
getHostRef,
insertVdomAnnotations,
registerComponents,
registerContext,
registerModule,
renderVdom,
resetPlatform,
Expand All @@ -31,8 +30,6 @@ export async function newSpecPage(opts: NewSpecPageOptions): Promise<SpecPage> {
resetPlatform();
resetBuildConditionals(BUILD);

registerContext(opts.context);

if (Array.isArray(opts.components)) {
registerComponents(opts.components);
}
Expand Down

0 comments on commit bfb1271

Please sign in to comment.