Make Azure account name and bucket name configurable

This commit is contained in:
richard-dds
2019-08-05 11:36:19 -04:00
parent 94b6b320fb
commit 6405d9b958
4 changed files with 20 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ const WrapperComponent = makeTestWrapper({
templatePath: 'checkbox_input_template.html',
data: function() {
return { initialvalue: this.initialData }
}
},
})
describe('CheckboxInput Renders Correctly', () => {

View File

@@ -9,7 +9,7 @@ const UploadWrapper = makeTestWrapper({
templatePath: 'upload_input_template.html',
data: function() {
return { initialvalue: this.initialData.initialvalue, token: this.token }
}
},
})
const UploadErrorWrapper = makeTestWrapper({
@@ -17,14 +17,14 @@ const UploadErrorWrapper = makeTestWrapper({
templatePath: 'upload_input_error_template.html',
data: function() {
return { initialvalue: null, token: null }
}
},
})
describe('UploadInput Test', () => {
it('should show input and button when no attachment present', () => {
const wrapper = mount(UploadWrapper, {
propsData: {
initialData: { initialvalue: null, token: "token" },
initialData: { initialvalue: null, token: 'token' },
},
})
@@ -35,7 +35,7 @@ describe('UploadInput Test', () => {
it('should show file name and hide input', () => {
const wrapper = mount(UploadWrapper, {
propsData: {
initialData: { initialvalue: "somepdf.pdf", token: "token" }
initialData: { initialvalue: 'somepdf.pdf', token: 'token' },
},
})
@@ -49,8 +49,8 @@ describe('UploadInput Test', () => {
it('should correctly display error treatment', () => {
const wrapper = mount(UploadErrorWrapper, {
propsData: {
initialData: { initialvalue: "somepdf.pdf", token: "token" }
}
initialData: { initialvalue: 'somepdf.pdf', token: 'token' },
},
})
const messageArea = wrapper.find('.usa-input__message')