Optional snapshotDir: stringoptional custom directory
Optional importMeta: ImportMetapass import.meta from calling module to resolve snapshot dir relative to it
Returns (or creates) the SnapshotStore for a given class and snapshot
directory. Stores are cached globally by className + snapshotDir.
class name (snapshot filename stem)