diff --git a/packages/docusaurus-theme-live-codeblock/src/__tests__/validateThemeConfig.test.js b/packages/docusaurus-theme-live-codeblock/src/__tests__/validateThemeConfig.test.ts similarity index 96% rename from packages/docusaurus-theme-live-codeblock/src/__tests__/validateThemeConfig.test.js rename to packages/docusaurus-theme-live-codeblock/src/__tests__/validateThemeConfig.test.ts index ce0fdf040050..0feddebd0f97 100644 --- a/packages/docusaurus-theme-live-codeblock/src/__tests__/validateThemeConfig.test.js +++ b/packages/docusaurus-theme-live-codeblock/src/__tests__/validateThemeConfig.test.ts @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -const {validateThemeConfig, DEFAULT_CONFIG} = require('../validateThemeConfig'); +import {validateThemeConfig, DEFAULT_CONFIG} from '../validateThemeConfig'; function testValidateThemeConfig(themeConfig) { function validate(schema, cfg) {