fix(theme-classic): allow tabs with number as value (#5732)

This commit is contained in:
Joshua Chen 2021-10-21 18:43:56 +08:00 committed by GitHub
parent 2398943c17
commit c2eda4aac1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 73 additions and 53 deletions

View file

@ -41,6 +41,6 @@ module.exports = {
// Maybe point to a fixture?
'@generated/.*': '<rootDir>/jest/emptyModule.js',
// TODO maybe use "projects" + multiple configs if we plan to add tests to another theme?
'@theme/(.*)': '@docusaurus/theme-classic/lib-next/theme/$1',
'@theme/(.*)': '@docusaurus/theme-classic/src/theme/$1',
},
};