From 54e1ca3e30f8e15db8f99f0e747d8736a16ce338 Mon Sep 17 00:00:00 2001 From: nepcore Date: Sat, 26 Aug 2023 17:04:53 +0200 Subject: [PATCH] attempt fixing tests --- test.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test.js b/test.js index 50367c5..f7711ad 100644 --- a/test.js +++ b/test.js @@ -1,4 +1,6 @@ -import {resolve_if} from './pkg/conditions.js' +import conditions from './pkg/conditions.js' + +const {resolve_if} = conditions var tests = { 'true': { @@ -74,4 +76,4 @@ for (const testsKey in tests) { } else if (test.result !== result) { throw 'Test failed' } -} \ No newline at end of file +}