From 2edbc2373062c45c56e090a65d1fd55baddf1951 Mon Sep 17 00:00:00 2001 From: Eric Lavault <39483232+lvlte@users.noreply.github.com> Date: Sat, 9 Oct 2021 13:37:33 +0200 Subject: [PATCH] Comply with ESM syntax. Remove unnecessary import. --- Linear-Algebra/test/test.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Linear-Algebra/test/test.js b/Linear-Algebra/test/test.js index 1deb0f8b2..a99d97aad 100644 --- a/Linear-Algebra/test/test.js +++ b/Linear-Algebra/test/test.js @@ -5,12 +5,11 @@ This file contains the test-suite for the linear algebra library. The tests use javascript test-framework mocha */ + /* eslint-disable */ -import { LinearAlgebra } from "../src/la_lib" - -var assert = require('assert') -var fs = require('fs') +import { LinearAlgebra } from '../src/la_lib' +import * as assert from 'assert' // file is included here // Tests goes here @@ -211,4 +210,4 @@ describe('class Matrix', function () { assert.ok(B.equal(C)) }) }) -}) \ No newline at end of file +})