File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
packages/@ember/-internals/metal/tests/tracked Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -100,6 +100,8 @@ jobs:
100
100
- name : " Production build, with optional features"
101
101
BUILD : " production"
102
102
ENABLE_OPTIONAL_FEATURES : " true"
103
+ - name : " Stable decorators"
104
+ VITE_STABLE_DECORATORS : " true"
103
105
104
106
steps :
105
107
- uses : actions/checkout@v4
@@ -112,6 +114,7 @@ jobs:
112
114
OVERRIDE_DEPRECATION_VERSION : ${{ matrix.OVERRIDE_DEPRECATION_VERSION }}
113
115
ENABLE_OPTIONAL_FEATURES : ${{ matrix.ENABLE_OPTIONAL_FEATURES }}
114
116
RAISE_ON_DEPRECATION : ${{ matrix.RAISE_ON_DEPRECATION }}
117
+ VITE_STABLE_DECORATORS : ${{ matrix.VITE_STABLE_DECORATORS }}
115
118
116
119
run : pnpm test
117
120
Original file line number Diff line number Diff line change @@ -43,7 +43,9 @@ moduleFor(
43
43
assert . equal ( validateTag ( tag , snapshot ) , true ) ;
44
44
}
45
45
46
- [ `@test autotracking should work with initializers` ] ( assert ) {
46
+ [ `@test autotracking should work with initializers (${ import . meta. env . VITE_STABLE_DECORATORS ? 'stable' : 'legacy' } decorators)` ] (
47
+ assert
48
+ ) {
47
49
class Tracked {
48
50
@tracked first = `first: ${ this . second } ` ;
49
51
@tracked second = 'second' ;
You can’t perform that action at this time.
0 commit comments