Skip to content

Commit

Permalink
Another attempt to fix snapshots.
Browse files Browse the repository at this point in the history
  • Loading branch information
Konard committed May 29, 2023
1 parent 14a6275 commit 98e9abc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions snapshots/create.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
import { createRequire } from 'module';
import { fileURLToPath } from 'url';
const require = createRequire(import.meta.url);
const { promisify } = require('util');
const { exec } = require('child_process');
const { promises: fs } = require('fs');
const execP = promisify(exec);
const path = require('path');

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

const _deeplinks = path.normalize(`${__dirname}/..`);

const create = async () => {
Expand Down
5 changes: 5 additions & 0 deletions snapshots/last.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
import { createRequire } from 'module';
import { fileURLToPath } from 'url';
const require = createRequire(import.meta.url);
const { promisify } = require('util');
const { exec } = require('child_process');
const { promises: fs } = require('fs');
const execP = promisify(exec);
const path = require('path');

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

const _deeplinks = path.normalize(`${__dirname}/..`);

const last = async () => {
Expand Down

0 comments on commit 98e9abc

Please sign in to comment.