Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 70fd2b6

Browse files
committed
chore: fix faulty test in clean.test.ts
1 parent 571bcea commit 70fd2b6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/commands/theme/locale/clean.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,12 @@ describe('theme locale clean', () => {
6969
expect(storefrontContent).to.have.nested.property('actions.add_to_cart')
7070
expect(storefrontContent).to.have.nested.property('t_with_fallback.direct_key')
7171
expect(storefrontContent).to.have.nested.property('t_with_fallback.variable_key')
72+
expect(storefrontContent).to.not.have.property('unused')
7273

7374
const schemaContent = JSON.parse(fs.readFileSync(path.join(testThemeLocalesPath, 'en.default.schema.json'), 'utf8'))
7475
expect(schemaContent).to.have.nested.property('section.name')
7576
expect(schemaContent).to.have.nested.property('section.settings.logo_label')
77+
expect(schemaContent).to.not.have.property('unused')
7678
})
7779

7880
it('can be run from a theme directory without an argument', async () => {

0 commit comments

Comments
 (0)