# Snapshot report for `src/cli/validate/project-report.test.ts`

The actual snapshot is saved in `project-report.test.ts.snap`.

Generated by [AVA](https://avajs.dev).

## get project report - errors - console

> Snapshot 1

    ` ✘  mypath/MyContract.sol:MyContract␊
    ␊
          MyContract.sol:10: Implementation is missing a public \`upgradeTo(address)\` or \`upgradeToAndCall(address,bytes)\` function␊
              Inherit UUPSUpgradeable to include one or both of these functions in your contract␊
              @openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol␊
              https://zpl.in/upgrades/error-008␊
          ␊
          MyContract.sol:20: Use of delegatecall is not allowed␊
              https://zpl.in/upgrades/error-002␊
    ␊
     ✘  MyContract2 (upgrades from MyContract)␊
    ␊
          file.sol:1: Replaced \`x2\` with \`renamed\` of incompatible type␊
    ␊
    FAILED (2 upgradeable contracts detected, 0 passed, 2 failed)`

## get project report - some passed

> Snapshot 1

    ` ✘  mypath/MyContract.sol:MyContract1␊
    ␊
          MyContract.sol:10: Implementation is missing a public \`upgradeTo(address)\` or \`upgradeToAndCall(address,bytes)\` function␊
              Inherit UUPSUpgradeable to include one or both of these functions in your contract␊
              @openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol␊
              https://zpl.in/upgrades/error-008␊
    ␊
     ✔  mypath/MyContract.sol:MyContract2␊
    ␊
    FAILED (2 upgradeable contracts detected, 1 passed, 1 failed)`
