diff --git a/blocks/three-object-block/Edit.test.js b/blocks/three-object-block/Edit.test.js
deleted file mode 100644
index ab10afe..0000000
--- a/blocks/three-object-block/Edit.test.js
+++ /dev/null
@@ -1,57 +0,0 @@
-
-//Import React
-import React from 'react';
-//Import test renderer
-import { render, fireEvent, cleanup } from '@testing-library/react';
-//Import component to test
-import { Editor } from './Edit';
-
-
-describe("Editor componet", () => {
- afterEach(cleanup);
- it('matches snapshot when selected', () => {
- const onChange = jest.fn();
- const { container } = render();
- expect(container).toMatchSnapshot();
- });
-
- it('matches snapshot when not selected', () => {
- const onChange = jest.fn();
- const { container } = render();
- expect(container).toMatchSnapshot();
- });
-
- it("Calls the onchange function", () => {
- const onChange = jest.fn();
- const { getByDisplayValue } = render();
- fireEvent.change(getByDisplayValue("Salad"), {
- target: { value: "New Value" }
- });
- expect(onChange).toHaveBeenCalledTimes(1);
- });
-
- it("Passes updated value, not event to onChange callback", () => {
- const onChange = jest.fn();
- const { getByDisplayValue } = render();
- fireEvent.change(getByDisplayValue("Seltzer"), {
- target: { value: "Boring Water" }
- });
- expect(onChange).toHaveBeenCalledWith("Boring Water");
- });
-});
\ No newline at end of file
diff --git a/inc/functions.php b/inc/functions.php
index f9c5271..8e5926f 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -74,6 +74,7 @@ function threeobjectviewer_checkfiletypes($data, $file, $filename, $mimes) {
return $data;
}
+add_action('wp_enqueue_scripts', __NAMESPACE__ . '\threeobjectviewer_frontend_assets');
/**
* Enqueue block frontend JavaScript