[ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin (#3148)

* [ACA-4695] Fix saving screenshots for E2Es, add nx eslint plugin

* [ACA-4695] Improve eslint rules
This commit is contained in:
MichalKinas
2023-04-26 12:25:36 +02:00
committed by GitHub
parent 42479d92cc
commit 5fa5ac4117
17 changed files with 277 additions and 33 deletions

View File

@@ -154,9 +154,8 @@ export class ContentApiService {
};
const queryOptions = Object.assign(defaults, options || {});
// @ts-ignore
return from(
new Promise((resolve, reject) => {
new Promise<Node>((resolve, reject) => {
this.nodesApi.getNode(nodeId, queryOptions).then(
(nodeEntry: NodeEntry) => {
resolve(nodeEntry.entry);