Skip to content

Commit 9b143bc

Browse files
authored
chore: update schematics tests (#447)
* update nativescript theme * update files
1 parent 2135193 commit 9b143bc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/code_sharing/ng_new_tests.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,9 @@ def create_app(app_data, shared, sample, theme, style, prefix, source_dir, webpa
128128

129129
# Check theme
130130
if theme:
131-
assert App.is_dependency(app_name=NGNewTests.app_name, dependency='nativescript-theme-core')
131+
assert App.is_dependency(app_name=NGNewTests.app_name, dependency='@nativescript/theme')
132132
else:
133-
assert not App.is_dependency(app_name=NGNewTests.app_name, dependency='nativescript-theme-core')
133+
assert not App.is_dependency(app_name=NGNewTests.app_name, dependency='@nativescript/theme')
134134

135135
# Check styling
136136
if style is None or style is StylingType.CSS:
@@ -139,7 +139,6 @@ def create_app(app_data, shared, sample, theme, style, prefix, source_dir, webpa
139139
assert 'app.android.scss' in result.output
140140
assert 'app.ios.scss' in result.output
141141
assert '_app-common.scss' in result.output
142-
assert '_app-variables.scss' in result.output
143142

144143
# Check webpack
145144
if webpack:

0 commit comments

Comments
 (0)