Skip to content

Commit

Permalink
Using import instead of require.
Browse files Browse the repository at this point in the history
Co-authored-by: Arthur Araujo <[email protected]>
  • Loading branch information
thamara and araujoarthur0 committed Jan 8, 2024
1 parent 1a88d1e commit 57003cb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions __tests__/__main__/validate-json.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/* eslint-disable no-undef */
'use strict';

const {
validateJSON
} = require('../../js/validate-json');
import { validateJSON } from '../../js/validate-json.js';

describe('Validate json', function()
{
Expand Down

0 comments on commit 57003cb

Please sign in to comment.