Skip to content

Commit d89a79b

Browse files
committed
Add rendering test
1 parent b399ae0 commit d89a79b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test-app/tests/core/raw-api-test.gts

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** eslint-disable @typescript-eslint/ban-ts-comment */
1+
// @ts-ignore - I don't want to deal with DT/native type compatibility here
22
import { cached, tracked } from '@glimmer/tracking';
33
import { render, settled } from '@ember/test-helpers';
44
import { module, test } from 'qunit';
@@ -17,7 +17,7 @@ module('RAW', function (hooks) {
1717

1818
compatOwner.setOwner(parent, this.owner);
1919

20-
// @ts-expect-error
20+
// @ts-expect-error - types are a lie due to decorators
2121
let instance = thing.create();
2222

2323
instance.link(parent);
@@ -28,7 +28,7 @@ module('RAW', function (hooks) {
2828
let thing = resource(() => 2);
2929

3030
assert.throws(() => {
31-
// @ts-expect-error
31+
// @ts-expect-error - types are a lie due to decorators
3232
let instance = thing.create();
3333

3434
instance.current;
@@ -39,7 +39,7 @@ module('RAW', function (hooks) {
3939
let thing = resource(() => 2);
4040

4141
assert.throws(() => {
42-
// @ts-expect-error
42+
// @ts-expect-error - types are a lie due to decorators
4343
let instance = thing.create();
4444

4545
instance.link({});
@@ -60,7 +60,7 @@ module('RAW Rendering', function (hooks) {
6060

6161
@cached
6262
get thing() {
63-
// @ts-expect-error
63+
// @ts-expect-error - types are a lie due to decorators
6464
let instance = this.#thing.create();
6565

6666
instance.link(this);

0 commit comments

Comments
 (0)