metas:
  - apiVersion: v2
    publisher: testpub
    name: testname
    version: testver
    type: VS Code extension
    spec:
      containers:
        - image: testImg
          name: testcontainer
          memoryLimit: 124Mi
          memoryRequest: 100Mi
          cpuLimit: 100m
          cpuRequest: 111m
      extensions:
        - https://test.extension
  - apiVersion: v2
    publisher: testpub
    name: badResources
    version: testver
    type: VS Code extension
    spec:
      containers:
        - image: testImg
          name: testcontainer
          memoryLimit: 900Mi
          memoryRequest: 200Mi
          cpuLimit: 900m
          cpuRequest: 222m
      extensions:
        - https://test.extension
expected:
  - apiVersion: v2
    id: testpub/testname/testver
    publisher: testpub
    name: testname
    version: testver
    type: theia plugin
    spec:
      containers:
        - image: testImg
          name: merged-testImg
          memoryLimit: 1Gi
          memoryRequest: 300Mi
          cpuLimit: 1
          cpuRequest: 333m
      extensions:
        - https://test.extension
