Skip to content

Commit 9780b47

Browse files
committed
Fix lint and lock file
1 parent 5fb154b commit 9780b47

File tree

2 files changed

+128
-15
lines changed

2 files changed

+128
-15
lines changed

pnpm-lock.yaml

+124-12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/builders/tests/unit/json-api-builder-test.ts

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
import { module, skip, test } from 'qunit';
1+
import { module, test } from 'qunit';
22

33
import { setupTest } from 'ember-qunit';
44

55
import { createRecord, deleteRecord, findRecord, query, updateRecord } from '@ember-data/json-api/request';
66
import { setBuildURLConfig } from '@ember-data/request-utils';
77
import Store, { recordIdentifierFor } from '@ember-data/store';
88

9+
import UserSetting from '../../app/models/user-setting';
910
import { headersToObject } from '../helpers/utils';
1011

1112
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) {
153154
};
154155
store.push(expectedData);
155156

156-
const userSetting = store.peekRecord('user-setting', '12');
157+
const userSetting = store.peekRecord('user-setting', '12') as UserSetting;
157158
const identifier = recordIdentifierFor(userSetting);
158159

159160
userSetting.name = 'test2';
@@ -190,7 +191,7 @@ module('JSON:API | Request Builders', function (hooks) {
190191
};
191192
store.push(expectedData);
192193

193-
const userSetting = store.peekRecord('user-setting', '12');
194+
const userSetting = store.peekRecord('user-setting', '12') as UserSetting;
194195
const identifier = recordIdentifierFor(userSetting);
195196

196197
userSetting.name = 'test2';

0 commit comments

Comments
 (0)