Skip to content

Commit

Permalink
馃┕ fix(none): fix test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
kellymears committed Jun 27, 2024
1 parent 599273b commit 75e0975
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sources/@repo/test-kit/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export type Options = {

const makeTestBud = async (options: Options = {}): Promise<Bud> =>
await factory({
basedir: options.basedir ?? path(`tests`, `util`, `project`),
basedir: path(`tests`, `util`, `project`),
cache: false,
dry: true,
force: true,
Expand Down
5 changes: 4 additions & 1 deletion sources/@roots/bud-framework/src/extension/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions sources/@roots/bud-react/src/react-refresh/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 75e0975

Please sign in to comment.