ng构建后排除/ assets文件夹中的文件

时间:2019-04-01 12:28:20

标签: angular angular-cli

我有一个配置文件-asset / config.json。运行后如何排除此文件 Mockito.when(this.service.find(ArgumentMatchers.eq(1L))).thenReturn(mockLP); mvc.perform(MockMvcRequestBuilders.get("/api/clients/lp/{id}", 1L)) .andExpect(MockMvcResultMatchers.status().isOk()) .andExpect(MockMvcResultMatchers.content().contentType("application/json;charset=UTF-8")) .andExpect(MockMvcResultMatchers.jsonPath("$.active", Matchers.is(true)));

我尝试编辑ts.config.json:

.andExpect(MockMvcResultMatchers.header().string(HttpHeaders.ETAG, "\"1\""))

,但仍将资产文件夹保存在dist文件夹中。

0 个答案:

没有答案
相关问题