Skip to content

Commit

Permalink
Expose ComponentSpec and HelperSpec as public imports (#57)
Browse files Browse the repository at this point in the history
* Expose `ComponentSpec` and `HelperSpec` as public imports

* Bump version
  • Loading branch information
dfreeman authored Mar 7, 2024
1 parent 1b6e0d4 commit 3bd3986
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions addon/index.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export { wrap, unwrap } from 'ember-exclaim/-private/environment';
export { default as ComponentSpec } from 'ember-exclaim/-private/component-spec';
export { default as HelperSpec } from 'ember-exclaim/-private/helper-spec';
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ember-exclaim",
"version": "1.3.2",
"version": "1.4.0",
"description": "An addon allowing apps to expose declarative, JSON-configurable custom UIs backed by Ember components",
"keywords": [
"ember-addon"
Expand Down
3 changes: 1 addition & 2 deletions tests/unit/build-spec-processor-test.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { module, test } from 'qunit';
import buildSpecProcessor from 'ember-exclaim/-private/build-spec-processor';
import Binding from 'ember-exclaim/-private/binding';
import ComponentSpec from 'ember-exclaim/-private/component-spec';
import HelperSpec from 'ember-exclaim/-private/helper-spec';
import { ComponentSpec, HelperSpec } from 'ember-exclaim';

module('Unit | build-spec-processor', function () {
test('processing valid config', function (assert) {
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/helper-spec-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { module, test } from 'qunit';
import Binding from 'ember-exclaim/-private/binding';
import HelperSpec from 'ember-exclaim/-private/helper-spec';
import { HelperSpec } from 'ember-exclaim';

module('Unit | helper-spec');

Expand Down

0 comments on commit 3bd3986

Please sign in to comment.