Skip to content

Commit c3b1deb

Browse files
ryancbahanclaude
andcommitted
Fix scopes test to expect raw value after scopes transform extraction
getAppConfigurationState returns raw config values in startingOptions; scopes normalization now happens at read time via getAppScopes(). Update the test assertion to match the raw TOML value. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent daa4fd7 commit c3b1deb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/app/src/cli/models/app/loader.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3517,7 +3517,7 @@ describe('getAppConfigurationState', () => {
35173517
appDirectory: expect.any(String),
35183518
configurationPath: expect.stringMatching(/shopify.app.toml$/),
35193519
startingOptions: {
3520-
scopes: 'write_abc,write_xyz',
3520+
scopes: ' write_xyz, write_abc ',
35213521
},
35223522
},
35233523
],

0 commit comments

Comments
 (0)