	@Test
	void appendsTypeForJsArrayElementType() {

		JsCacheBuilder cacheBuilder = new JsCacheBuilder();
		Map<String, Object> apis = new HashMap<>();
		apis.put("api1", new ObjectWithFunctionReturningArray());

		JsApiCache cache = cacheBuilder.buildFrom(apis);

		ApiEntry classEntry = cache.get("--classes").get(Foo.class.getName());
		assertThat(classEntry).isInstanceOf(ClassEntry.class);
	}