mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat(api): migrate to esm (#61915)
This commit is contained in:
committed by
GitHub
parent
68614b43a9
commit
bed3811952
@@ -1,5 +1,5 @@
|
||||
import { describe, test, expect } from 'vitest';
|
||||
import { getCsrfToken, getCookies } from './vitest.utils';
|
||||
import { getCsrfToken, getCookies } from './vitest.utils.js';
|
||||
|
||||
const fakeCookies = [
|
||||
'_csrf=123; Path=/; HttpOnly; SameSite=Strict',
|
||||
|
||||
Reference in New Issue
Block a user