diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml deleted file mode 100644 index 0906e63..0000000 --- a/.github/workflows/e2e.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: E2E Tests - -on: - push: - branches: - - master - -jobs: - e2e: - - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [12.x] - - steps: - - uses: actions/checkout@v1 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: yarn install - run: yarn - env: - CI: true - - name: build & E2E Smoke tests - run: yarn build && yarn test:smoke - env: - CI: true - TEST_BUTTONDOWN_API_KEY: ${{ secrets.TEST_BUTTONDOWN_API_KEY }} diff --git a/tests/e2e/snapshots/smoke.js.md b/tests/e2e/snapshots/smoke.js.md deleted file mode 100644 index eca607a..0000000 --- a/tests/e2e/snapshots/smoke.js.md +++ /dev/null @@ -1,80 +0,0 @@ -# Snapshot report for `tests/integration/smoke.js` - -The actual snapshot is saved in `smoke.js.snap`. - -Generated by [AVA](https://avajs.dev). - -## emails.list() & emails.get() - -> Snapshot 1 - - [ - 'id', - 'included_tags', - 'excluded_tags', - 'secondary_id', - 'publish_date', - 'subject', - 'body', - 'email_type', - 'slug', - ] - -## ping() - -> Snapshot 1 - - {} - -## subscribers.list() & subscribers.get() - -> Snapshot 1 - - [ - 'creation_date', - 'email', - 'id', - 'notes', - 'referrer_url', - 'metadata', - 'secondary_id', - 'subscriber_type', - 'source', - 'tags', - 'utm_campaign', - 'utm_medium', - 'utm_source', - ] - -## tags.list() & tags.get() - -> Snapshot 1 - - [ - 'creation_date', - 'color', - 'id', - 'name', - 'description', - ] - -## unsubscribers.list() & unsubscribers.get() - -> Snapshot 1 - - [ - 'creation_date', - 'unsubscribe_reason', - 'unsubscribe_date', - 'email', - 'id', - 'notes', - 'referrer_url', - 'secondary_id', - 'source', - 'tags', - 'utm_campaign', - 'utm_medium', - 'utm_source', - 'metadata', - ] diff --git a/tests/e2e/snapshots/smoke.js.snap b/tests/e2e/snapshots/smoke.js.snap deleted file mode 100644 index 7757125..0000000 Binary files a/tests/e2e/snapshots/smoke.js.snap and /dev/null differ