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