mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-27 01:58:55 +00:00
More sonar
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -266,7 +266,7 @@ describe('CustomFieldsQueryDropdownComponent', () => {
|
||||
await fixture.whenStable()
|
||||
expect(atom.value).toBeNull()
|
||||
const amount: HTMLInputElement = query('input[aria-label="Amount"]')
|
||||
const unit: HTMLSelectElement = query('select[aria-label="Unit"]')
|
||||
const unit: HTMLSelectElement = query('select[id$="_unit"]')
|
||||
amount.value = '30'
|
||||
amount.dispatchEvent(new Event('input'))
|
||||
expect(atom.serialize()).toEqual([4, 'gte', '30 days ago'])
|
||||
|
||||
Reference in new issue
Block a user