mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 00:24:39 +08:00
FEATURE: List unused theme components (#6924)
This commit is contained in:
@ -7,7 +7,11 @@ const themes = [1, 2, 3, 4, 5].map(num =>
|
||||
Theme.create({ name: `Theme ${num}` })
|
||||
);
|
||||
const components = [1, 2, 3, 4, 5].map(num =>
|
||||
Theme.create({ name: `Child ${num}`, component: true })
|
||||
Theme.create({
|
||||
name: `Child ${num}`,
|
||||
component: true,
|
||||
parentThemes: [themes[num - 1]]
|
||||
})
|
||||
);
|
||||
|
||||
componentTest("current tab is themes", {
|
||||
|
Reference in New Issue
Block a user