feat(redis): add local expiration modes
This commit is contained in:
1 parent
3a2dc4225a
commit
51fa058edb
35 files changed
+2918
-98
No files matched your search
@@ -5,10 +5,9 @@ const dataGridSource = readFileSync(new URL("../DataGrid.vue", import.meta.url),
|
||||
|
||||
describe("DataGrid native clipboard regions", () => {
|
||||
it("keeps table info text selection out of grid copy shortcuts", () => {
|
||||
const drawerStart = dataGridSource.indexOf('<div v-if="showTableInfo"');
|
||||
const drawerTagEnd = dataGridSource.indexOf(">", drawerStart);
|
||||
const drawerTag = dataGridSource.match(/<div\s+v-if="showTableInfo"[^>]*>/)?.[0];
|
||||
|
||||
expect(drawerStart).toBeGreaterThanOrEqual(0);
|
||||
expect(dataGridSource.slice(drawerStart, drawerTagEnd)).toContain("data-native-clipboard");
|
||||
expect(drawerTag).toBeDefined();
|
||||
expect(drawerTag).toContain("data-native-clipboard");
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user