File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1- export * from './system.js' ;
2-
31import { createReactiveSystem , type ReactiveNode , type ReactiveFlags } from './system.js' ;
42
53const enum EffectFlags {
Original file line number Diff line number Diff line change @@ -7,14 +7,14 @@ test('build: cjs', () => {
77 const index = require ( '../cjs/index.cjs' ) ;
88 const system = require ( '../cjs/system.cjs' ) ;
99
10- expect ( typeof index . createReactiveSystem ) . toBe ( 'function' ) ;
10+ expect ( typeof index . getCurrentSub ) . toBe ( 'function' ) ;
1111 expect ( typeof system . createReactiveSystem ) . toBe ( 'function' ) ;
1212} ) ;
1313
1414test ( 'build: esm' , async ( ) => {
1515 const index = await import ( '../esm/index.mjs' ) ;
1616 const system = await import ( '../esm/system.mjs' ) ;
1717
18- expect ( typeof index . createReactiveSystem ) . toBe ( 'function' ) ;
18+ expect ( typeof index . getCurrentSub ) . toBe ( 'function' ) ;
1919 expect ( typeof system . createReactiveSystem ) . toBe ( 'function' ) ;
2020} ) ;
You can’t perform that action at this time.
0 commit comments