mirror of
https://github.com/wassname/talk.git
synced 2026-09-10 12:43:11 +08:00
Resolve linter issues
This commit is contained in:
@@ -12,7 +12,9 @@ describe('graph.loaders.Actions', () => {
|
||||
{ item_id: 'comment_1' },
|
||||
{ item_id: 'comment_2' },
|
||||
]);
|
||||
const { Actions: { getAuthoredByID } } = loaders({
|
||||
const {
|
||||
Actions: { getAuthoredByID },
|
||||
} = loaders({
|
||||
user: { id: 'user_1' },
|
||||
connectors: { services: { Actions: { getUserActions: spy } } },
|
||||
});
|
||||
@@ -34,7 +36,9 @@ describe('graph.loaders.Actions', () => {
|
||||
describe('#getSummariesByItem', () => {
|
||||
describe('logged out user', () => {
|
||||
it('does not include any user data', async () => {
|
||||
const { Actions: { getSummariesByItem } } = loaders({
|
||||
const {
|
||||
Actions: { getSummariesByItem },
|
||||
} = loaders({
|
||||
loaders: {
|
||||
Actions: {
|
||||
getAuthoredByID: {
|
||||
@@ -72,7 +76,9 @@ describe('graph.loaders.Actions', () => {
|
||||
|
||||
describe('logged in user', () => {
|
||||
it('does include user', async () => {
|
||||
const { Actions: { getSummariesByItem } } = loaders({
|
||||
const {
|
||||
Actions: { getSummariesByItem },
|
||||
} = loaders({
|
||||
loaders: {
|
||||
Actions: {
|
||||
getAuthoredByID: {
|
||||
|
||||
Reference in New Issue
Block a user