Can't purge named datasets

When I crate a named dataset like const dataset = await Dataset.open("test"); and let the script run the data gets appended after each run. I tried to call purgeDefaultStorages() but this has no effect. What am I doing wrong?
Was this page helpful?