Skip to content

Commit 2d967f4

Browse files
committed
Enable hot mode in test mode
1 parent f7e4efe commit 2d967f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/sandbox/eval/transpiled-module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ export default class TranspiledModule {
878878
id: this.getId(),
879879
exports: {},
880880
globals,
881-
hot: manager.envVariables.NODE_ENV !== 'test' && {
881+
hot: {
882882
accept: (path: string | Array<string>, cb) => {
883883
if (
884884
typeof path === 'undefined' ||

0 commit comments

Comments
 (0)