Skip to content

Commit 2edbc23

Browse files
committed
Comply with ESM syntax. Remove unnecessary import.
1 parent 3f32320 commit 2edbc23

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Linear-Algebra/test/test.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@
55
This file contains the test-suite for the linear algebra library.
66
The tests use javascript test-framework mocha
77
*/
8-
/* eslint-disable */
98

10-
import { LinearAlgebra } from "../src/la_lib"
9+
/* eslint-disable */
1110

12-
var assert = require('assert')
13-
var fs = require('fs')
11+
import { LinearAlgebra } from '../src/la_lib'
12+
import * as assert from 'assert'
1413

1514
// file is included here
1615
// Tests goes here
@@ -211,4 +210,4 @@ describe('class Matrix', function () {
211210
assert.ok(B.equal(C))
212211
})
213212
})
214-
})
213+
})

0 commit comments

Comments
 (0)