Skip to content

Commit

Permalink
Merge pull request #614 from ensdomains/dev
Browse files Browse the repository at this point in the history
Deploy to production
  • Loading branch information
makoto authored Mar 10, 2020
2 parents b9adec9 + 7bdb58b commit c2ce42b
Show file tree
Hide file tree
Showing 5 changed files with 532 additions and 51 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
sudo: required

dist: trusty

language: node_js

node_js:
- '8.11.4'
- lts/dubnium

cache:
yarn: true
Expand Down
7 changes: 2 additions & 5 deletions cypress/integration/resolverMigration.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,13 @@ describe('Migrate resolver and records', () => {
it('can visit a name with an old resolver and migrate it', () => {
cy.visit(`${ROOT}/name/abittooawesome2.eth`)
cy.getByText('Migrate', { timeout: 5000 }).click({ force: true })
cy.queryByText('migrate', { timeout: 50 }).should('not.exist')
cy.queryByText('migrate', { timeout: 1000 }).should('not.exist')
})

it('can visit a name with an old content resolver and migrate it as swarm contenthash', () => {
cy.visit(`${ROOT}/name/oldresolver.eth`)
cy.getByText('Migrate', { timeout: 5000 }).click({ force: true })
cy.queryByText('migrate', { timeout: 50 }).should('not.exist')
cy.queryByText('bzz://', {
exact: false
}).should('exist')
cy.queryByText('migrate', { timeout: 1000 }).should('not.exist')
})

it('cannot migrate resolver if the parent domain is not migrateed', () => {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"@0xproject/utils": "^0.7.3",
"@emotion/core": "^10.0.9",
"@emotion/styled": "^10.0.9",
"@ensdomains/address-encoder": "^0.1.2",
"@ensdomains/address-encoder": "^0.1.3",
"@ensdomains/ens": "^0.4.4",
"@ensdomains/ens-022": "npm:@ensdomains/[email protected]",
"@ensdomains/ethregistrar": "^2.0.0",
"@ensdomains/react-ens-address": "0.0.17",
"@ensdomains/resolver": "^0.2.4",
"@ensdomains/ui": "3.0.4",
"@ensdomains/ui": "3.0.5",
"apollo-cache-inmemory": "^1.2.9",
"apollo-client": "^2.4.5",
"apollo-link": "^1.2.2",
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ window.addEventListener('load', async () => {
client = await setupClient(networkId)
} catch (e) {
console.log(e)
client = await setupClient()
await client.mutate({
mutation: SET_ERROR,
variables: { message: e.message }
Expand Down
Loading

0 comments on commit c2ce42b

Please sign in to comment.