From 977da4efdca078399ce5d1bdde0eb7cc3d650240 Mon Sep 17 00:00:00 2001 From: David Joy Date: Tue, 23 Apr 2019 16:19:06 -0400 Subject: [PATCH 1/2] Travis, you there? --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 6ed96d2b3..4ba105623 100644 --- a/README.rst +++ b/README.rst @@ -3,7 +3,7 @@ frontend-app-account ========================= -Please tag **@edx/arch-team** on any PRs or issues. Thanks. +Please tag **@edx/arch-team** on any PRs or issues. Introduction ------------ From b5958e0ee1feea3bc46018ae97953badc060aca8 Mon Sep 17 00:00:00 2001 From: David Joy Date: Wed, 24 Apr 2019 09:58:33 -0400 Subject: [PATCH 2/2] Fixing linting errors. Travis works! --- src/example/service.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/example/service.js b/src/example/service.js index 518a961f2..6b7eda667 100644 --- a/src/example/service.js +++ b/src/example/service.js @@ -6,7 +6,7 @@ let config = { LMS_BASE_URL: null, }; -let apiClient = null; +let apiClient = null; // eslint-disable-line function validateConfiguration(newConfig) { Object.keys(config).forEach((key) => { @@ -23,10 +23,10 @@ export function configureApiService(newConfig, newApiClient) { } export async function getData(data) { - //const { data } = await apiClient.get(`${config.API_BASE_URL}/example/`, { - return new Promise((resolve, reject) => { + // const { data } = await apiClient.get(`${config.API_BASE_URL}/example/`, { + return new Promise((resolve) => { setTimeout(() => { resolve(data); }, 2000); - });; + }); }