public function testGetCodeBlockDisabled() { $config = new TypeScriptLoader(['loaders' => ['typescript' => ['enabled' => false, 'loader' => 'ts']]]); $block = $config->getCodeBlocks()[0]; $this->assertFalse($block->has(CodeBlock::LOADER)); }