Skip to content
This repository has been archived by the owner on Oct 29, 2024. It is now read-only.

Commit

Permalink
Upgrade some dependencies in @glimmer/component used for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Feb 15, 2022
1 parent 036b602 commit fa1a606
Show file tree
Hide file tree
Showing 7 changed files with 128 additions and 161 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export interface Constructor<T> {
}

export default abstract class BaseComponentManager<GlimmerComponent extends BaseComponent>
implements ComponentManager<GlimmerComponent> {
implements ComponentManager<GlimmerComponent>
{
abstract capabilities: ComponentCapabilities;

private owner: unknown;
Expand Down
6 changes: 1 addition & 5 deletions packages/@glimmer/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,12 @@
"babel-eslint": "^8.2.6",
"broccoli-asset-rev": "^2.7.0",
"broccoli-funnel": "^2.0.1",
"ember-ajax": "^3.0.0",
"ember-auto-import": "^2.4.0",
"ember-cli": "~3.4.0-beta.1",
"ember-cli-blueprint-test-helpers": "^0.19.1",
"ember-cli-dependency-checker": "^2.0.0",
"ember-cli-htmlbars": "^2.0.3",
"ember-cli-htmlbars-inline-precompile": "^1.0.3",
"ember-cli-htmlbars": "^6.0.0",
"ember-cli-inject-live-reload": "^1.4.1",
"ember-cli-sri": "^2.1.0",
"ember-cli-uglify": "^2.1.0",
"ember-decorators-polyfill": "^1.0.6",
"ember-disable-prototype-extensions": "^1.1.2",
"ember-export-application-global": "^2.0.0",
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render, click } from '@ember/test-helpers';
import hbs from 'htmlbars-inline-precompile';
import { hbs } from 'ember-cli-htmlbars';

module('Integration | Component | glimmer.js guide example', function (hooks) {
setupRenderingTest(hooks);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import GlimmerComponent from '@glimmer/component';
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render, clearRender, click } from '@ember/test-helpers';
import hbs from 'htmlbars-inline-precompile';
import { hbs } from 'ember-cli-htmlbars';
import { getOwner } from '@ember/application';
import { set, computed } from '@ember/object';

Expand Down
2 changes: 1 addition & 1 deletion packages/@glimmer/core/src/render-component/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async function renderComponent(
optionsOrElement instanceof HTMLElement ? { element: optionsOrElement } : optionsOrElement;

const { element, args, owner } = options;
const document = (self.document as unknown) as SimpleDocument;
const document = self.document as unknown as SimpleDocument;

const { env, iterator } = getTemplateIterator(
ComponentClass,
Expand Down
Loading

0 comments on commit fa1a606

Please sign in to comment.