From 75e0975b614bd577c2033a1c5756ce823bae8f33 Mon Sep 17 00:00:00 2001 From: Kelly Mears Date: Thu, 27 Jun 2024 01:49:02 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20fix(none):=20fix=20test=20failur?= =?UTF-8?q?e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sources/@repo/test-kit/index.ts | 2 +- sources/@roots/bud-framework/src/extension/index.ts | 5 ++++- sources/@roots/bud-react/src/react-refresh/index.ts | 2 -- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sources/@repo/test-kit/index.ts b/sources/@repo/test-kit/index.ts index 2698f2c92e..c7b7795e7e 100644 --- a/sources/@repo/test-kit/index.ts +++ b/sources/@repo/test-kit/index.ts @@ -9,7 +9,7 @@ export type Options = { const makeTestBud = async (options: Options = {}): Promise => await factory({ - basedir: options.basedir ?? path(`tests`, `util`, `project`), + basedir: path(`tests`, `util`, `project`), cache: false, dry: true, force: true, diff --git a/sources/@roots/bud-framework/src/extension/index.ts b/sources/@roots/bud-framework/src/extension/index.ts index 6af8228248..6a1345a3f3 100644 --- a/sources/@roots/bud-framework/src/extension/index.ts +++ b/sources/@roots/bud-framework/src/extension/index.ts @@ -239,7 +239,10 @@ export class Extension< if (this.meta[key] === true) return false this.meta[key] = true - if ([`buildAfter`, `buildBefore`].includes(key) && !this.isEnabled()) + if ( + [`buildAfter`, `buildBefore`, `configAfter`].includes(key) && + !this.isEnabled() + ) return false this.logger.log(`Executing:`, key) diff --git a/sources/@roots/bud-react/src/react-refresh/index.ts b/sources/@roots/bud-react/src/react-refresh/index.ts index bd5f3c26cb..f319cba5c0 100644 --- a/sources/@roots/bud-react/src/react-refresh/index.ts +++ b/sources/@roots/bud-react/src/react-refresh/index.ts @@ -13,8 +13,6 @@ import { label, options, } from '@roots/bud-framework/extension/decorators' -import isBoolean from '@roots/bud-support/isBoolean' -import isUndefined from '@roots/bud-support/isUndefined' import omit from '@roots/bud-support/omit' interface Options extends ReactRefreshPluginOptions {