fix: restore native image attachments
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { readFileSync } from 'node:fs'
|
||||
|
||||
describe('Tauri drag/drop configuration', () => {
|
||||
it('keeps native file drops enabled for path-aware app inputs', () => {
|
||||
it('keeps browser file drops disabled so images use the native attachment path', () => {
|
||||
const config = JSON.parse(readFileSync(`${process.cwd()}/src-tauri/tauri.conf.json`, 'utf8'))
|
||||
|
||||
expect(config.app.windows[0].dragDropEnabled).toBe(true)
|
||||
expect(config.app.windows[0].dragDropEnabled).toBe(false)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user