From 94ee4c3d5bae4d551ba3f727e035aba07a8a46a4 Mon Sep 17 00:00:00 2001 From: cha0s Date: Tue, 22 Mar 2022 00:57:40 -0500 Subject: [PATCH] chore: clean up --- packages/core/src/flecks.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/core/src/flecks.js b/packages/core/src/flecks.js index 5920534..51efd5e 100644 --- a/packages/core/src/flecks.js +++ b/packages/core/src/flecks.js @@ -108,6 +108,13 @@ export default class Flecks { }; } + destroy() { + this.config = {}; + this.hooks = {}; + this.flecks = {}; + this.platforms = []; + } + expandedFlecks(hook) { const flecks = this.lookupFlecks(hook); let expanded = [];