Skip to content

Commit

Permalink
Fix lint errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Feb 8, 2023
1 parent a700a47 commit 7e90014
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/unit/pushprocessor.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as utils from "../test-utils/test-utils";
import { IActionsObject, PushProcessor } from "../../src/pushprocessor";
import { EventType, IContent, MatrixClient, MatrixEvent } from "../../src";
import { ConditionKind, EventType, IContent, MatrixClient, MatrixEvent } from "../../src";

describe("NotificationService", function () {
const testUserId = "@ali:matrix.org";
Expand Down Expand Up @@ -520,7 +520,7 @@ describe("NotificationService", function () {
actions: [],
conditions: [
{
kind: "event_match",
kind: ConditionKind.EventMatch,
key: "content.m\\.test.foo",
pattern: "bar",
},
Expand All @@ -539,7 +539,7 @@ describe("NotificationService", function () {
actions: [],
conditions: [
{
kind: "event_match",
kind: ConditionKind.EventMatch,
key: "content.m\\\\example",
pattern: "baz",
},
Expand All @@ -558,7 +558,7 @@ describe("NotificationService", function () {
actions: [],
conditions: [
{
kind: "event_match",
kind: ConditionKind.EventMatch,
// An incorrect escape sequence leaves the backslash.
key: "content.m\\example",
pattern: "baz",
Expand Down

0 comments on commit 7e90014

Please sign in to comment.