From 4b85898462bac0d0ee3a1d18f1005ad0069ddabe Mon Sep 17 00:00:00 2001 From: Justin Schroeder Date: Fri, 1 Nov 2019 16:01:42 -0400 Subject: [PATCH] Reverts to using esm.js --- test/Formulate.test.js | 2 +- test/FormulateForm.test.js | 6 +++--- test/FormulateInputBox.test.js | 8 ++++---- test/FormulateInputText.test.js | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/test/Formulate.test.js b/test/Formulate.test.js index 6d5e898..5cf2d52 100644 --- a/test/Formulate.test.js +++ b/test/Formulate.test.js @@ -1,4 +1,4 @@ -import Formulate from '@/Formulate.js' +import Formulate from '../dist/formulate.esm.js' test('can extend simple object', () => { let a = { diff --git a/test/FormulateForm.test.js b/test/FormulateForm.test.js index 4cf0b73..9de5a2f 100644 --- a/test/FormulateForm.test.js +++ b/test/FormulateForm.test.js @@ -1,9 +1,9 @@ import Vue from 'vue' import { mount, shallowMount } from '@vue/test-utils' import flushPromises from 'flush-promises' -import Formulate from '@/Formulate.js' -import FormulateForm from '../src/FormulateForm.vue' -import FormulateInput from '../src/FormulateInput.vue' +import Formulate from '../dist/formulate.esm.js' +import FormulateForm from '@/FormulateForm.vue' +import FormulateInput from '@/FormulateInput.vue' Vue.use(Formulate) diff --git a/test/FormulateInputBox.test.js b/test/FormulateInputBox.test.js index e9abbfa..6769786 100644 --- a/test/FormulateInputBox.test.js +++ b/test/FormulateInputBox.test.js @@ -1,9 +1,9 @@ import Vue from 'vue' import { mount } from '@vue/test-utils' -import Formulate from '@/Formulate.js' -import FormulateInput from '../src/FormulateInput.vue' -import FormulateInputBox from '../src/inputs/FormulateInputBox.vue' -import FormulateInputGroup from '../src/FormulateInputGroup.vue' +import Formulate from '../dist/formulate.esm.js' +import FormulateInput from '@/FormulateInput.vue' +import FormulateInputBox from '@/inputs/FormulateInputBox.vue' +import FormulateInputGroup from '@/FormulateInputGroup.vue' Vue.use(Formulate) diff --git a/test/FormulateInputText.test.js b/test/FormulateInputText.test.js index b0cc50c..6563751 100644 --- a/test/FormulateInputText.test.js +++ b/test/FormulateInputText.test.js @@ -1,8 +1,8 @@ import Vue from 'vue' import { mount } from '@vue/test-utils' -import Formulate from '@/Formulate.js' -import FormulateInput from '../src/FormulateInput.vue' -import FormulateInputText from '../src/inputs/FormulateInputText.vue' +import Formulate from '../dist/formulate.esm.js' +import FormulateInput from '@/FormulateInput.vue' +import FormulateInputText from '@/inputs/FormulateInputText.vue' import { doesNotReject } from 'assert'; Vue.use(Formulate)