mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-10 19:21:01 +00:00
fix(tests): fix spec test
This commit is contained in:
1 parent
ff28192785
commit
0a57b95cfc
1 file changed
+1
-1
@@ -183,7 +183,7 @@ describe('Sieve', function() {
|
||||
it('add simple sieve filter', async function() {
|
||||
const folderName = 'Sent'
|
||||
const subject = 'add simple sieve filter'
|
||||
const sieveFilter = `require ["fileinto"];\r\nif anyof (header :contains "subject" "${subject}") {\r\n fileinto "${folderName}";\r\n}\r\n`
|
||||
const sieveFilter = `require ["fileinto"];\r\nif anyof (header :contains "subject" "${subject}") {\r\n fileinto :create "${folderName}";\r\n}\r\n`
|
||||
|
||||
await prefs.set('SOGoSieveFilters', [{
|
||||
active: true,
|
||||
|
||||
Reference in new issue
Block a user