Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
startKind(kind) {
const filePath = path.resolve(this.configDir, kind);
this.state = initializeSnapshotState(filePath, this.update);
this.kind = kind;
const { updated, added, matched, unmatched } = this.state;
this.testOutcomes = { updated, added, matched, unmatched };
}