Skip to content

Commit

Permalink
chore(test): Update import.meta.resolve() usage
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAlbin committed Nov 10, 2023
1 parent 4d36f97 commit 6021802
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_fork-versions.js
Expand Up @@ -20,7 +20,7 @@ describe('Fork versions', function() {

describe('Typey fork', function() {
it('should compile properly', async function() {
const typeyPath = fileURLToPath(await import.meta.resolve('typey'));
const typeyPath = fileURLToPath(import.meta.resolve('typey'));
const sassyTest = new SassyTest({
fixtures: path.join(__dirname, 'fixtures/fork-versions'),
loadPaths: [
Expand All @@ -36,8 +36,8 @@ describe('Fork versions', function() {

describe('Typey, Chroma and KSS fork', async function() {
it('should compile properly', async function() {
const chromaPath = fileURLToPath(await import.meta.resolve('chroma-sass'));
const typeyPath = fileURLToPath(await import.meta.resolve('typey'));
const chromaPath = fileURLToPath(import.meta.resolve('chroma-sass'));
const typeyPath = fileURLToPath(import.meta.resolve('typey'));
const sassyTest = new SassyTest({
fixtures: path.join(__dirname, 'fixtures/fork-versions'),
loadPaths: [
Expand Down

0 comments on commit 6021802

Please sign in to comment.