Handle promise linting (#5488)
This commit is contained in:
@@ -64,7 +64,7 @@ class View extends IdModel {
|
||||
|
||||
if (!created) {
|
||||
model.count += 1;
|
||||
model.save(options);
|
||||
await model.save(options);
|
||||
}
|
||||
|
||||
return model;
|
||||
|
||||
@@ -174,7 +174,7 @@ This is a new paragraph.
|
||||
| | | |`,
|
||||
});
|
||||
|
||||
const text = await DocumentHelper.toPlainText(revision);
|
||||
const text = DocumentHelper.toPlainText(revision);
|
||||
|
||||
// Strip all formatting
|
||||
expect(text).toEqual(`This is a test paragraph
|
||||
|
||||
Reference in New Issue
Block a user