|
1 |
| -import { module, skip, test } from 'qunit'; |
| 1 | +import { module, test } from 'qunit'; |
2 | 2 |
|
3 | 3 | import { setupTest } from 'ember-qunit';
|
4 | 4 |
|
5 | 5 | import { createRecord, deleteRecord, findRecord, query, updateRecord } from '@ember-data/json-api/request';
|
6 | 6 | import { setBuildURLConfig } from '@ember-data/request-utils';
|
7 | 7 | import Store, { recordIdentifierFor } from '@ember-data/store';
|
8 | 8 |
|
| 9 | +import UserSetting from '../../app/models/user-setting'; |
9 | 10 | import { headersToObject } from '../helpers/utils';
|
10 | 11 |
|
11 | 12 | const JSON_API_HEADERS = { accept: 'application/vnd.api+json', 'content-type': 'application/vnd.api+json' };
|
@@ -153,7 +154,7 @@ module('JSON:API | Request Builders', function (hooks) {
|
153 | 154 | };
|
154 | 155 | store.push(expectedData);
|
155 | 156 |
|
156 |
| - const userSetting = store.peekRecord('user-setting', '12'); |
| 157 | + const userSetting = store.peekRecord('user-setting', '12') as UserSetting; |
157 | 158 | const identifier = recordIdentifierFor(userSetting);
|
158 | 159 |
|
159 | 160 | userSetting.name = 'test2';
|
@@ -190,7 +191,7 @@ module('JSON:API | Request Builders', function (hooks) {
|
190 | 191 | };
|
191 | 192 | store.push(expectedData);
|
192 | 193 |
|
193 |
| - const userSetting = store.peekRecord('user-setting', '12'); |
| 194 | + const userSetting = store.peekRecord('user-setting', '12') as UserSetting; |
194 | 195 | const identifier = recordIdentifierFor(userSetting);
|
195 | 196 |
|
196 | 197 | userSetting.name = 'test2';
|
|
0 commit comments