Skip to content

Commit

Permalink
chore: Updated test fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
ijlee2 committed Jul 9, 2023
1 parent 8e6686a commit 0ab0f85
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 0 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './blueprints/blueprints-root.js';
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { join } from 'node:path';

import { getFilePath } from '@codemod-utils/blueprints';

const fileURL = import.meta.url;

export const blueprintsRoot = join(getFilePath(fileURL), '../../blueprints');
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { assert, test } from '@codemod-utils/tests';

import { blueprintsRoot } from '../../../src/utils/blueprints.js';

test('utils | blueprints | blueprints-root', function () {
assert.strictEqual(blueprintsRoot.endsWith('src/blueprints'), true);
});
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './blueprints/blueprints-root.js';
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { join } from 'node:path';

import { getFilePath } from '@codemod-utils/blueprints';

const fileURL = import.meta.url;

export const blueprintsRoot = join(getFilePath(fileURL), '../../blueprints');
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { assert, test } from '@codemod-utils/tests';

import { blueprintsRoot } from '../../../src/utils/blueprints.js';

test('utils | blueprints | blueprints-root', function () {
assert.strictEqual(blueprintsRoot.endsWith('src/blueprints'), true);
});

0 comments on commit 0ab0f85

Please sign in to comment.