You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it('creates builds in the right state',async()=>{const{createBuild: build}=awaitrunQuery(db,gql` mutation { createBuild(input: { appId: "${appId}" }) { status } } `);expect(build).toEqual({status: 'BUILD_IN_PROGRESS',});});
The text was updated successfully, but these errors were encountered:
Here is some code that I've used:
Mocking the db: https://gist.github.com/tmeasday/f957de6c4c9c7ece790c2897ff2016d6
Running queries directly from tests: https://gist.github.com/tmeasday/51d0c9fe2d1b7acc5e1aece59b1ff658
Example test:
The text was updated successfully, but these errors were encountered: